<html>
<head><meta charset="UTF-8" /><script>
var $gwt_version = "2.0.3";
var $wnd = parent;
var $doc = $wnd.document;
var $moduleName, $moduleBase;
var $strongName = '239F96E580FE5E16DB8FD3F056E14F1B';
var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null,
$sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;
$stats && $stats({moduleName:'web.example.Application',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalStart'});
</script></head>
<body>
<script><!--
var _, N8000000000000000_longLit = [0, -9223372036854775808], N81_longLit = [4294967167, -4294967296], Na_longLit = [4294967286, -4294967296], P0_longLit = [0, 0], P5_longLit = [5, 0], P80_longLit = [128, 0], Pfa_longLit = [250, 0], P3e8_longLit = [1000, 0], P1000000_longLit = [16777216, 0], P240c8400_longLit = [604800000, 0], P7fffffffffffffff_longLit = [4294967295, 9223372032559808512];
function nullMethod(){
}

function equals(other){
  return this === (other == null?null:other);
}

function getClass_0(){
  return Ljava_lang_Object_2_classLit;
}

function hashCode_0(){
  return this.$H || (this.$H = ++sNextHashId);
}

function toString_0(){
  return (this.typeMarker$ == nullMethod || this.typeId$ == 2?this.getClass$():Lcom_google_gwt_core_client_JavaScriptObject_2_classLit).typeName + '@' + toPowerOfTwoString(this.typeMarker$ == nullMethod || this.typeId$ == 2?this.hashCode$():this.$H || (this.$H = ++sNextHashId), 4);
}

function Object_0(){
}

_ = Object_0.prototype = {};
_.equals$ = equals;
_.getClass$ = getClass_0;
_.hashCode$ = hashCode_0;
_.toString$ = toString_0;
_.toString = function(){
  return this.toString$();
}
;
_.typeMarker$ = nullMethod;
_.typeId$ = 1;
function $clinit_0(){
  $clinit_0 = nullMethod;
  $clinit_103();
  SSL_SECURE_URL = $moduleBase + 'blank.html';
}

function hideLoadingPanel(id){
  $clinit_0();
  var loading, t;
  loading = ($clinit_34() , $clinit_18() , $wnd.GXT.Ext.DomQuery.select('#' + id)[0]);
  if (loading) {
    t = $GXT$1(new GXT$1, loading);
    $schedule(t, 500);
  }
}

function init(){
  var parent_0;
  $clinit_0();
  var bodyEl, cls, fileName, p, theme, themeId, ua;
  if (initialized) {
    return;
  }
  initialized = true;
  ua = $wnd.navigator.userAgent.toLowerCase();
  isOpera = ua.indexOf('opera') != -1;
  isIE_0 = !isOpera && ua.indexOf('msie') != -1;
  isIE7 = !isOpera && ua.indexOf('msie 7') != -1;
  isIE8 = !isOpera && ua.indexOf('msie 8') != -1;
  isIE6 = isIE_0 && !isIE7 && !isIE8;
  isChrome = !isIE_0 && ua.indexOf('chrome') != -1;
  isWebKit = ua.indexOf('webkit') != -1;
  isSafari = !isChrome && ua.indexOf('safari') != -1;
  isSafari3 = isSafari && ua.indexOf('version/3') != -1;
  isSafari4 = isSafari && ua.indexOf('version/4') != -1;
  isSafari2 = isSafari && !isSafari3 && !isSafari4;
  isGecko = !isWebKit && ua.indexOf('gecko') != -1;
  isGecko3 = isGecko && ua.indexOf('rv:1.9.0') != -1;
  isGecko35 = isGecko && ua.indexOf('rv:1.9.1') != -1;
  isGecko2 = isGecko && !isGecko3 && !isGecko35;
  isWindows = ua.indexOf('windows') != -1 || ua.indexOf('win32') != -1;
  isMac = ua.indexOf('macintosh') != -1 || ua.indexOf('mac os x') != -1;
  ua.indexOf('adobeair') != -1;
  isLinux = ua.indexOf('linux') != -1;
  !useShims && (useShims = isIE6 || isMac && isGecko2);
  isStrict = $equals_4($doc.compatMode, 'CSS1Compat');
  isBorderBox_0 = isBorderBox_1(($clinit_308() , $doc).createElement('div'));
  isSecure = $wnd.location.protocol.toLowerCase().indexOf('https') == 0;
  BLANK_IMAGE_URL == null && (isIE8 || isGecko && !isSecure?(BLANK_IMAGE_URL = ''):(BLANK_IMAGE_URL = $moduleBase + 'clear.gif'));
  bodyEl = getBodyEl();
  isBorderBox_0 && $addStyleName(bodyEl, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['ext-border-box']));
  if (isIE_0) {
    $addStyleName(bodyEl, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['ext-ie']));
    cls = isIE6?'ext-ie6':isIE7?'ext-ie7':'ext-ie8';
    $addStyleName(bodyEl, initValues(_3Ljava_lang_String_2_classLit, 340, 1, [cls]));
    isIE7 && isIE8compatibility() && $addStyleName(bodyEl, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['ext-ie8-compatibility']));
  }
   else if (isGecko) {
    $addStyleName(bodyEl, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['ext-gecko']));
    cls = isGecko2?'ext-gecko2':'ext-gecko3';
    $addStyleName(bodyEl, initValues(_3Ljava_lang_String_2_classLit, 340, 1, [cls]));
  }
   else if (isOpera) {
    $addStyleName(bodyEl, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['ext-opera']));
  }
   else if (isWebKit) {
    $addStyleName(bodyEl, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['ext-webkit']));
    isSafari?$addStyleName(bodyEl, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['ext-safari'])):isChrome && $addStyleName(bodyEl, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['ext-chrome']));
  }
  isWindows?$addStyleName(bodyEl, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['ext-windows'])):isMac?$addStyleName(bodyEl, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['ext-mac'])):isLinux && $addStyleName(bodyEl, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['ext-linux']));
  !($clinit_116() , $clinit_116() , instance_3).provider && (instance_3.provider = $CookieProvider(new CookieProvider, '/', null, null, false) , undefined);
  theme = $getMap_0($moduleBase + 'theme');
  if (theme) {
    themeId = toString__devirtual$(theme.get_0('id'));
    fileName = toString__devirtual$(theme.get_0('file'));
    fileName.indexOf('gxt-all.css') == -1 && addStyleSheet(themeId, fileName);
    $addStyleName(bodyEl, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-theme-' + themeId]));
    $set_7(instance_3.provider, $moduleBase + 'theme', theme);
  }
  if (isStrict) {
    p = (parent_0 = ($clinit_34() , $doc.body || $doc.documentElement).parentNode , (!parent_0 || parent_0.nodeType != 1) && (parent_0 = null) , parent_0);
    !!p && $addStyleName(($clinit_19() , fly_1(p, '_global')), initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['ext-strict']));
  }
  isIE6 && removeBackgroundFlicker();
}

function isIE8compatibility(){
  if (isIE7) {
    if ($doc.documentMode) {
      return true;
    }
  }
  return false;
}

function removeBackgroundFlicker(){
  try {
    $doc.execCommand('BackgroundImageCache', false, true);
  }
   catch (e) {
  }
}

var BLANK_IMAGE_URL = null, SSL_SECURE_URL, ariaEnabled = false, initialized = false, isBorderBox_0 = false, isChrome = false, isGecko = false, isGecko2 = false, isGecko3 = false, isGecko35 = false, isIE_0 = false, isIE6 = false, isIE7 = false, isIE8 = false, isLinux = false, isMac = false, isOpera = false, isSafari = false, isSafari2 = false, isSafari3 = false, isSafari4 = false, isSecure = false, isStrict = false, isWebKit = false, isWindows = false, useShims = false;
function $clinit_1(){
  $clinit_1 = nullMethod;
  timers = $ArrayList(new ArrayList);
  addCloseHandler(new Timer$1);
}

function $cancel(this$static){
  this$static.isRepeating?($wnd.clearInterval(this$static.timerId) , undefined):($wnd.clearTimeout(this$static.timerId) , undefined);
  $remove_20(timers, this$static);
}

function $schedule(this$static, delayMillis){
  if (delayMillis <= 0) {
    throw $IllegalArgumentException(new IllegalArgumentException, 'must be positive');
  }
  $cancel(this$static);
  this$static.isRepeating = false;
  this$static.timerId = createTimeout(this$static, delayMillis);
  $add_13(timers, this$static);
}

function $scheduleRepeating(this$static, periodMillis){
  if (periodMillis <= 0) {
    throw $IllegalArgumentException(new IllegalArgumentException, 'must be positive');
  }
  $cancel(this$static);
  this$static.isRepeating = true;
  this$static.timerId = createInterval(this$static, periodMillis);
  $add_13(timers, this$static);
}

function createInterval(timer, period){
  return $wnd.setInterval($entry(function(){
    timer.fire();
  }
  ), period);
}

function createTimeout(timer, delay){
  return $wnd.setTimeout($entry(function(){
    timer.fire();
  }
  ), delay);
}

function fire(){
  !this.isRepeating && $remove_20(timers, this);
  this.run();
}

function getClass_1(){
  return Lcom_google_gwt_user_client_Timer_2_classLit;
}

function Timer(){
}

_ = Timer.prototype = new Object_0;
_.fire = fire;
_.getClass$ = getClass_1;
_.typeId$ = 3;
_.isRepeating = false;
_.timerId = 0;
var timers;
function $clinit_2(){
  $clinit_2 = nullMethod;
  $clinit_1();
}

function $GXT$1(this$static, val$loading){
  $clinit_2();
  this$static.val$loading = val$loading;
  return this$static;
}

function getClass_2(){
  return Lcom_extjs_gxt_ui_client_GXT$1_2_classLit;
}

function run(){
  ($clinit_19() , fly_1(this.val$loading, '_global')).setVisible(false);
}

function GXT$1(){
}

_ = GXT$1.prototype = new Timer;
_.getClass$ = getClass_2;
_.run = run;
_.typeId$ = 4;
_.val$loading = null;
function $addListener(this$static, eventType, listener){
  var key, list;
  if (!listener)
    return;
  !this$static.listeners && (this$static.listeners = $FastMap(new FastMap));
  key = eventType.id_0;
  list = dynamicCast(this$static.listeners.map['' + key], 42);
  if (!list) {
    list = $ArrayList(new ArrayList);
    list.add(listener);
    $put_0(this$static.listeners, key, list);
  }
   else {
    !list.contains(listener) && list.add(listener);
  }
}

function $fireEvent(this$static, eventType, be){
  var copy, l, l$iterator, list;
  if (this$static.listeners) {
    be.type_0 = eventType;
    list = dynamicCast(this$static.listeners.map['' + eventType.id_0], 42);
    if (list) {
      copy = $ArrayList_0(new ArrayList, list);
      for (l$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, copy); l$iterator.i < l$iterator.this$0_0.size_0();) {
        l = dynamicCast($next_4(l$iterator), 46);
        l.handleEvent(be);
      }
    }
    return !be.cancelled;
  }
  return true;
}

function $removeAllListeners(this$static){
  !!this$static.listeners && (this$static.listeners.map = {});
}

function $removeListener(this$static, eventType, listener){
  var key, list;
  if (!this$static.listeners) {
    return;
  }
  key = eventType.id_0;
  list = dynamicCast(this$static.listeners.map['' + key], 42);
  if (list) {
    list.remove_1(listener);
    list.isEmpty() && $remove_3(this$static.listeners.map, dynamicCast(key, 1));
  }
}

function getClass_3(){
  return Lcom_extjs_gxt_ui_client_event_BaseObservable_2_classLit;
}

function BaseObservable(){
}

_ = BaseObservable.prototype = new Object_0;
_.getClass$ = getClass_3;
_.typeId$ = 0;
_.listeners = null;
function $clinit_4(){
  $clinit_4 = nullMethod;
  map_3 = $FastMap(new FastMap);
}

var map_3;
function compareTo(p0){
  return this.ordinal - dynamicCast(p0, 32).ordinal;
}

function equals_0(other){
  return this === (other == null?null:other);
}

function getClass_4(){
  return Ljava_lang_Enum_2_classLit;
}

function hashCode_1(){
  return this.$H || (this.$H = ++sNextHashId);
}

function toString_1(){
  return this.name_0;
}

function Enum(){
}

_ = Enum.prototype = new Object_0;
_.compareTo$ = compareTo;
_.equals$ = equals_0;
_.getClass$ = getClass_4;
_.hashCode$ = hashCode_1;
_.toString$ = toString_1;
_.typeId$ = 5;
_.name_0 = null;
_.ordinal = 0;
function $clinit_6(){
  $clinit_6 = nullMethod;
  RIGHT = $Style$ButtonArrowAlign(new Style$ButtonArrowAlign, 'RIGHT', 0);
  BOTTOM = $Style$ButtonArrowAlign(new Style$ButtonArrowAlign, 'BOTTOM', 1);
}

function $Style$ButtonArrowAlign(this$static, enum$name, enum$ordinal){
  $clinit_6();
  this$static.name_0 = enum$name;
  this$static.ordinal = enum$ordinal;
  return this$static;
}

function getClass_5(){
  return Lcom_extjs_gxt_ui_client_Style$ButtonArrowAlign_2_classLit;
}

function values_0(){
  $clinit_6();
  return initValues(_3Lcom_extjs_gxt_ui_client_Style$ButtonArrowAlign_2_classLit, 303, 4, [RIGHT, BOTTOM]);
}

function Style$ButtonArrowAlign(){
}

_ = Style$ButtonArrowAlign.prototype = new Enum;
_.getClass$ = getClass_5;
_.typeId$ = 6;
var BOTTOM, RIGHT;
function $clinit_7(){
  $clinit_7 = nullMethod;
  SMALL = $Style$ButtonScale(new Style$ButtonScale, 'SMALL', 0);
  MEDIUM = $Style$ButtonScale(new Style$ButtonScale, 'MEDIUM', 1);
  LARGE = $Style$ButtonScale(new Style$ButtonScale, 'LARGE', 2);
}

function $Style$ButtonScale(this$static, enum$name, enum$ordinal){
  $clinit_7();
  this$static.name_0 = enum$name;
  this$static.ordinal = enum$ordinal;
  return this$static;
}

function getClass_6(){
  return Lcom_extjs_gxt_ui_client_Style$ButtonScale_2_classLit;
}

function values_1(){
  $clinit_7();
  return initValues(_3Lcom_extjs_gxt_ui_client_Style$ButtonScale_2_classLit, 304, 5, [SMALL, MEDIUM, LARGE]);
}

function Style$ButtonScale(){
}

_ = Style$ButtonScale.prototype = new Enum;
_.getClass$ = getClass_6;
_.typeId$ = 7;
var LARGE, MEDIUM, SMALL;
function $clinit_8(){
  $clinit_8 = nullMethod;
  UP = $Style$Direction(new Style$Direction, 'UP', 0);
  DOWN = $Style$Direction(new Style$Direction, 'DOWN', 1);
  LEFT = $Style$Direction(new Style$Direction, 'LEFT', 2);
  RIGHT_0 = $Style$Direction(new Style$Direction, 'RIGHT', 3);
}

function $Style$Direction(this$static, enum$name, enum$ordinal){
  $clinit_8();
  this$static.name_0 = enum$name;
  this$static.ordinal = enum$ordinal;
  return this$static;
}

function getClass_7(){
  return Lcom_extjs_gxt_ui_client_Style$Direction_2_classLit;
}

function values_2(){
  $clinit_8();
  return initValues(_3Lcom_extjs_gxt_ui_client_Style$Direction_2_classLit, 305, 6, [UP, DOWN, LEFT, RIGHT_0]);
}

function Style$Direction(){
}

_ = Style$Direction.prototype = new Enum;
_.getClass$ = getClass_7;
_.typeId$ = 8;
var DOWN, LEFT, RIGHT_0, UP;
function $clinit_9(){
  $clinit_9 = nullMethod;
  OFFSETS = $Style$HideMode(new Style$HideMode, 'OFFSETS', 0, 'x-hide-offsets');
  VISIBILITY = $Style$HideMode(new Style$HideMode, 'VISIBILITY', 1, 'x-hide-visibility');
  DISPLAY = $Style$HideMode(new Style$HideMode, 'DISPLAY', 2, 'x-hide-display');
}

function $Style$HideMode(this$static, enum$name, enum$ordinal, value){
  $clinit_9();
  this$static.name_0 = enum$name;
  this$static.ordinal = enum$ordinal;
  this$static.value = value;
  return this$static;
}

function getClass_8(){
  return Lcom_extjs_gxt_ui_client_Style$HideMode_2_classLit;
}

function values_3(){
  $clinit_9();
  return initValues(_3Lcom_extjs_gxt_ui_client_Style$HideMode_2_classLit, 306, 7, [OFFSETS, VISIBILITY, DISPLAY]);
}

function Style$HideMode(){
}

_ = Style$HideMode.prototype = new Enum;
_.getClass$ = getClass_8;
_.typeId$ = 9;
_.value = null;
var DISPLAY, OFFSETS, VISIBILITY;
function $clinit_10(){
  $clinit_10 = nullMethod;
  LEFT_0 = $Style$HorizontalAlignment(new Style$HorizontalAlignment, 'LEFT', 0);
  CENTER = $Style$HorizontalAlignment(new Style$HorizontalAlignment, 'CENTER', 1);
  RIGHT_1 = $Style$HorizontalAlignment(new Style$HorizontalAlignment, 'RIGHT', 2);
}

function $Style$HorizontalAlignment(this$static, enum$name, enum$ordinal){
  $clinit_10();
  this$static.name_0 = enum$name;
  this$static.ordinal = enum$ordinal;
  return this$static;
}

function getClass_9(){
  return Lcom_extjs_gxt_ui_client_Style$HorizontalAlignment_2_classLit;
}

function values_4(){
  $clinit_10();
  return initValues(_3Lcom_extjs_gxt_ui_client_Style$HorizontalAlignment_2_classLit, 307, 8, [LEFT_0, CENTER, RIGHT_1]);
}

function Style$HorizontalAlignment(){
}

_ = Style$HorizontalAlignment.prototype = new Enum;
_.getClass$ = getClass_9;
_.typeId$ = 10;
var CENTER, LEFT_0, RIGHT_1;
function $clinit_11(){
  $clinit_11 = nullMethod;
  RIGHT_2 = $Style$IconAlign(new Style$IconAlign, 'RIGHT', 0);
  BOTTOM_0 = $Style$IconAlign(new Style$IconAlign, 'BOTTOM', 1);
  TOP = $Style$IconAlign(new Style$IconAlign, 'TOP', 2);
  LEFT_1 = $Style$IconAlign(new Style$IconAlign, 'LEFT', 3);
}

function $Style$IconAlign(this$static, enum$name, enum$ordinal){
  $clinit_11();
  this$static.name_0 = enum$name;
  this$static.ordinal = enum$ordinal;
  return this$static;
}

function getClass_10(){
  return Lcom_extjs_gxt_ui_client_Style$IconAlign_2_classLit;
}

function values_5(){
  $clinit_11();
  return initValues(_3Lcom_extjs_gxt_ui_client_Style$IconAlign_2_classLit, 308, 9, [RIGHT_2, BOTTOM_0, TOP, LEFT_1]);
}

function Style$IconAlign(){
}

_ = Style$IconAlign.prototype = new Enum;
_.getClass$ = getClass_10;
_.typeId$ = 11;
var BOTTOM_0, LEFT_1, RIGHT_2, TOP;
function $clinit_12(){
  $clinit_12 = nullMethod;
  NORTH = $Style$LayoutRegion(new Style$LayoutRegion, 'NORTH', 0);
  EAST = $Style$LayoutRegion(new Style$LayoutRegion, 'EAST', 1);
  SOUTH = $Style$LayoutRegion(new Style$LayoutRegion, 'SOUTH', 2);
  WEST = $Style$LayoutRegion(new Style$LayoutRegion, 'WEST', 3);
  CENTER_0 = $Style$LayoutRegion(new Style$LayoutRegion, 'CENTER', 4);
}

function $Style$LayoutRegion(this$static, enum$name, enum$ordinal){
  $clinit_12();
  this$static.name_0 = enum$name;
  this$static.ordinal = enum$ordinal;
  return this$static;
}

function getClass_11(){
  return Lcom_extjs_gxt_ui_client_Style$LayoutRegion_2_classLit;
}

function values_6(){
  $clinit_12();
  return initValues(_3Lcom_extjs_gxt_ui_client_Style$LayoutRegion_2_classLit, 309, 10, [NORTH, EAST, SOUTH, WEST, CENTER_0]);
}

function Style$LayoutRegion(){
}

_ = Style$LayoutRegion.prototype = new Enum;
_.getClass$ = getClass_11;
_.typeId$ = 12;
var CENTER_0, EAST, NORTH, SOUTH, WEST;
function $clinit_13(){
  $clinit_13 = nullMethod;
  AUTO = $Style$Scroll(new Style$Scroll, 'AUTO', 0, 'auto');
  AUTOX = $Style$Scroll(new Style$Scroll, 'AUTOX', 1, 'auto');
  AUTOY = $Style$Scroll(new Style$Scroll, 'AUTOY', 2, 'auto');
  ALWAYS = $Style$Scroll(new Style$Scroll, 'ALWAYS', 3, 'scroll');
  NONE = $Style$Scroll(new Style$Scroll, 'NONE', 4, 'hidden');
}

function $Style$Scroll(this$static, enum$name, enum$ordinal, value){
  $clinit_13();
  this$static.name_0 = enum$name;
  this$static.ordinal = enum$ordinal;
  this$static.value = value;
  return this$static;
}

function getClass_12(){
  return Lcom_extjs_gxt_ui_client_Style$Scroll_2_classLit;
}

function values_7(){
  $clinit_13();
  return initValues(_3Lcom_extjs_gxt_ui_client_Style$Scroll_2_classLit, 310, 11, [AUTO, AUTOX, AUTOY, ALWAYS, NONE]);
}

function Style$Scroll(){
}

_ = Style$Scroll.prototype = new Enum;
_.getClass$ = getClass_12;
_.typeId$ = 13;
_.value = null;
var ALWAYS, AUTO, AUTOX, AUTOY, NONE;
function $clinit_14(){
  $clinit_14 = nullMethod;
  TOP_0 = $Style$VerticalAlignment(new Style$VerticalAlignment, 'TOP', 0);
  MIDDLE = $Style$VerticalAlignment(new Style$VerticalAlignment, 'MIDDLE', 1);
  BOTTOM_1 = $Style$VerticalAlignment(new Style$VerticalAlignment, 'BOTTOM', 2);
}

function $Style$VerticalAlignment(this$static, enum$name, enum$ordinal){
  $clinit_14();
  this$static.name_0 = enum$name;
  this$static.ordinal = enum$ordinal;
  return this$static;
}

function getClass_13(){
  return Lcom_extjs_gxt_ui_client_Style$VerticalAlignment_2_classLit;
}

function values_8(){
  $clinit_14();
  return initValues(_3Lcom_extjs_gxt_ui_client_Style$VerticalAlignment_2_classLit, 311, 12, [TOP_0, MIDDLE, BOTTOM_1]);
}

function Style$VerticalAlignment(){
}

_ = Style$VerticalAlignment.prototype = new Enum;
_.getClass$ = getClass_13;
_.typeId$ = 14;
var BOTTOM_1, MIDDLE, TOP_0;
function $FocusFrame(this$static){
  this$static.sides = $ArrayList(new ArrayList);
  return this$static;
}

function $frame(this$static, newComponent){
  var e;
  $clinit_0();
  if (!ariaEnabled) {
    return;
  }
  !this$static.initialized && $init(this$static);
  if (!ariaEnabled) {
    return;
  }
  !this$static.initialized && $init(this$static);
  if (this$static.curComponent != newComponent) {
    if (newComponent.rendered) {
      this$static.curComponent = newComponent;
      this$static.curElement = this$static.curComponent.getElement();
      e = ($clinit_19() , fly_1(this$static.curElement, '_global'));
      $makePositionable($getParent(e), false);
      $getParent(e).dom_0.appendChild(this$static.focusFrameContainer.dom_0);
      this$static.focusFrameContainer.setVisible(true);
      $sync(this$static, this$static.curComponent);
    }
  }
}

function $hide(this$static, c){
  this$static.initialized && c == this$static.curComponent && this$static.focusFrameContainer.setVisible(false);
}

function $init(this$static){
  var i, side;
  if (!this$static.initialized) {
    this$static.focusFrameContainer = $El(new El, ($clinit_308() , $doc).createElement('div'));
    $setStyleName(this$static.focusFrameContainer, 'x-aria-focusframe');
    $makePositionable(this$static.focusFrameContainer, false);
    this$static.focusFrameContainer.setVisible(false);
    for (i = 0; i < 4; ++i) {
      side = $El(new El, $doc.createElement('div'));
      side.dom_0.className = 'x-aria-focusframe-side';
      this$static.focusFrameContainer.dom_0.appendChild(side.dom_0);
      $makePositionable(side, true);
      $add_13(this$static.sides, side);
    }
    this$static.initialized = true;
  }
}

function $show(this$static, c){
  if (this$static.initialized && c == this$static.curComponent) {
    this$static.focusFrameContainer.setVisible(true);
    $sync(this$static, c);
  }
}

function $sync(this$static, c){
  var el, height, side, side$iterator, width;
  if (this$static.initialized && this$static.curComponent == c && c.rendered) {
    el = this$static.curComponent.el;
    width = el.dom_0.offsetWidth || 0;
    height = el.dom_0.offsetHeight || 0;
    $alignTo($setSize(dynamicCast($get_9(this$static.sides, 0), 2), width, 2), el.dom_0, 'tl', null);
    $alignTo($setSize(dynamicCast($get_9(this$static.sides, 1), 2), width, 2), el.dom_0, 'bl', initValues(_3I_classLit, 328, -1, [0, -2]));
    $alignTo($setSize(dynamicCast($get_9(this$static.sides, 2), 2), 2, height), el.dom_0, 'tr', initValues(_3I_classLit, 328, -1, [-2, 0]));
    $alignTo($setSize(dynamicCast($get_9(this$static.sides, 3), 2), 2, height), el.dom_0, 'tl', null);
    for (side$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.sides); side$iterator.i < side$iterator.this$0_0.size_0();) {
      side = dynamicCast($next_4(side$iterator), 2);
      side.setZIndex((parseInt(dynamicCast($getStyleAttribute_1(computedStyle, this$static.curComponent.el.dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['zIndex']))).map['zIndex'], 1), 10) || 0) + 1);
    }
  }
}

function $unframe(this$static){
  if (this$static.initialized) {
    this$static.focusFrameContainer.setVisible(false);
    this$static.curComponent = null;
    this$static.curElement = null;
  }
}

function get(){
  !instance_0 && (instance_0 = $FocusFrame(new FocusFrame));
  return instance_0;
}

function getClass_14(){
  return Lcom_extjs_gxt_ui_client_aria_FocusFrame_2_classLit;
}

function FocusFrame(){
}

_ = FocusFrame.prototype = new BaseObservable;
_.getClass$ = getClass_14;
_.typeId$ = 0;
_.curComponent = null;
_.curElement = null;
_.focusFrameContainer = null;
_.initialized = false;
var instance_0 = null;
function $CompositeElement(this$static){
  this$static.items = $ArrayList(new ArrayList);
  return this$static;
}

function $CompositeElement_0(this$static, elements){
  this$static.items = $ArrayList(new ArrayList);
  fill(this$static.items, elements);
  return this$static;
}

function $add(this$static, elem){
  $insert(this$static, elem, this$static.items.size);
}

function $each(this$static){
  var count, i;
  count = this$static.items.size;
  for (i = 0; i < count; ++i) {
    $doFunction(this$static.items?dynamicCastJso($get_9(this$static.items, i)):null, i);
  }
}

function $insert(this$static, elem, index){
  $add_14(this$static.items, index, elem);
}

function $is(this$static, elem){
  var count, i, test;
  count = this$static.items.size;
  for (i = 0; i < count; ++i) {
    test = i < this$static.items.size?dynamicCastJso($get_9(this$static.items, i)):null;
    if ($isOrHasChild_0(($clinit_308() , test), elem)) {
      return true;
    }
  }
  return false;
}

function $item(this$static, index){
  return this$static.items?dynamicCastJso($get_9(this$static.items, index)):null;
}

function $remove(this$static, element){
  !!this$static.items && $remove_20(this$static.items, element);
}

function $removeStyleName(this$static, style){
  var elem, elem$iterator;
  for (elem$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.items); elem$iterator.i < elem$iterator.this$0_0.size_0();) {
    elem = dynamicCastJso($next_4(elem$iterator));
    $removeStyleName_1(($clinit_19() , fly_1(elem, '_global')), style);
  }
}

function getClass_15(){
  return Lcom_extjs_gxt_ui_client_core_CompositeElement_2_classLit;
}

function CompositeElement(){
}

_ = CompositeElement.prototype = new Object_0;
_.getClass$ = getClass_15;
_.typeId$ = 0;
_.items = null;
function $clinit_17(){
  $clinit_17 = nullMethod;
  init();
  loadExt();
  loadDomHelper();
}

function $clinit_18(){
  $clinit_18 = nullMethod;
  init();
  loadExt();
  loadDomQuery();
}

function $clinit_19(){
  $clinit_19 = nullMethod;
  borderBoxMap = $FastMap(new FastMap);
  flyweights = $FastMap(new FastMap);
  computedStyle = $ComputedStyleImpl(new ComputedStyleImpl);
  init();
}

function $El(this$static, element){
  $clinit_19();
  this$static.visiblityMode = ($clinit_20() , DISPLAY_0);
  this$static.dom_0 = element;
  return this$static;
}

function $El_0(this$static, html){
  $clinit_19();
  $El(this$static, create_0(html));
  return this$static;
}

function $addEventsSunk(this$static, event_0){
  var bits;
  bits = this$static.dom_0.__eventBits || 0;
  $sinkEvents_1(this$static.dom_0, bits | event_0);
  return this$static;
}

function $addStyleName(this$static, styleNames){
  var styleName, styleName$array, styleName$index, styleName$max, cls_0;
  if (styleNames != null) {
    for (styleName$array = styleNames , styleName$index = 0 , styleName$max = styleName$array.length; styleName$index < styleName$max; ++styleName$index) {
      styleName = styleName$array[styleName$index];
      styleName != null && !(cls_0 = this$static.dom_0.className , (' ' + cls_0 + ' ').indexOf(' ' + styleName + ' ') != -1) && $setClassName(this$static.dom_0, this$static.dom_0.className + ' ' + styleName);
    }
  }
  return this$static;
}

function $alignTo(this$static, align, pos, offsets){
  var p;
  offsets == null && (offsets = initValues(_3I_classLit, 328, -1, [0, 0]));
  p = $getAlignToXY_0(this$static, align, pos, offsets);
  $setXY(this$static, p);
  return this$static;
}

function $appendChild(this$static, child){
  this$static.dom_0.appendChild(child);
  return $El(new El, child);
}

function $applyStyles(this$static, styles){
  var re = /\s?([a-z\-]*)\:\s?([^;]*);?/gi;
  var matches;
  while ((matches = re.exec(styles)) != null) {
    this$static.setStyleAttribute(matches[1], matches[2]);
  }
  return this$static;
}

function $center_0(this$static, container){
  !container && (container = ($clinit_34() , $doc.body || $doc.documentElement));
  return $alignTo(this$static, container, 'c-c', null);
}

function $child(this$static, selector){
  var child;
  child = ($clinit_18() , $wnd.GXT.Ext.DomQuery.select(selector, this$static.dom_0)[0]);
  return !child?null:$El(new El, child);
}

function $clearOpacity(this$static){
  var dom = this$static.dom_0;
  var style = dom.style;
  ($clinit_0() , isIE_0)?(dom.style.filter = (dom.style.filter || '').replace(/alpha\([^\)]*\)/gi, '')):(style.opacity = style['-moz-opacity'] = style['-khtml-opacity'] = '');
  return this$static;
}

function $clip(this$static){
  if (!this$static.isClipped) {
    this$static.isClipped = true;
    this$static.originalClipped = initDim(_3Ljava_lang_String_2_classLit, 340, 1, 3, 0);
    this$static.originalClipped[0] = dynamicCast($getStyleAttribute_1(computedStyle, this$static.dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['overflow']))).map['overflow'], 1);
    this$static.originalClipped[1] = dynamicCast($getStyleAttribute_1(computedStyle, this$static.dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['overflowX']))).map['overflowX'], 1);
    this$static.originalClipped[2] = dynamicCast($getStyleAttribute_1(computedStyle, this$static.dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['overflowY']))).map['overflowY'], 1);
    $setStyleAttribute_0(computedStyle, this$static.dom_0, 'overflow', 'hidden');
    $setStyleAttribute_0(computedStyle, this$static.dom_0, 'overflowX', 'hidden');
    $setStyleAttribute_0(computedStyle, this$static.dom_0, 'overflowY', 'hidden');
  }
  return this$static;
}

function $cloneNode(this$static, deep){
  return this$static.dom_0.cloneNode(deep);
}

function $disableTextSelection(this$static, disable){
  disable?$addStyleName(this$static, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-unselectable'])):$removeStyleName_1(this$static, 'x-unselectable');
  this$static.dom_0.setAttribute('unselectable', disable?'on':'');
  disableTextSelectInternal(this$static.dom_0, disable);
  return this$static;
}

function $enableDisplayMode(this$static, display){
  $setVisibilityMode(this$static, ($clinit_20() , DISPLAY_0));
  display != null && (this$static.originalDisplay = display);
  return this$static;
}

function $findParent(this$static, selector, maxDepth){
  var elem;
  elem = $findParentElement(this$static, selector, maxDepth);
  if (!elem) {
    return null;
  }
  return $El(new El, elem);
}

function $findParentElement(this$static, selector, maxDepth){
  var b, depth, p, parent_0;
  p = this$static.dom_0;
  b = ($clinit_34() , $doc.body || $doc.documentElement);
  depth = 0;
  while (!!p && p.nodeType == 1 && (maxDepth == -1 || depth < maxDepth) && p != b) {
    if ($clinit_18() , $wnd.GXT.Ext.DomQuery.is(p, selector)) {
      return p;
    }
    ++depth;
    p = (parent_0 = ($clinit_308() , p).parentNode , (!parent_0 || parent_0.nodeType != 1) && (parent_0 = null) , parent_0);
  }
  return null;
}

function $firstChild(this$static){
  var firstChild;
  firstChild = $getFirstChildElement(($clinit_308() , this$static.dom_0));
  return !firstChild?null:$El(new El, firstChild);
}

--></script>
<script><!--
function $getAlignToXY(this$static, elem, p, ox, oy){
  var a1, a2, c, dh, dw, el, h, p1, p1x, p1y, p2, p2x, p2y, r, scrollX, scrollY, swapX, swapY, w, x, y;
  el = $El(new El, elem);
  p == null?(p = 'tl-bl'):$equals_4(p, '?')?(p = 'tl-bl?'):p.indexOf('-') == -1 && (p = 'tl-' + p);
  p = p.toLowerCase();
  c = false;
  p1 = p.substr(0, p.indexOf('-') - 0);
  p2 = $substring_0(p, p.indexOf('-') + 1, (c = p.indexOf('?') != -1)?p.indexOf('?'):p.length);
  a1 = $getAnchorXY(this$static, p1, true);
  a2 = $getAnchorXY(el, p2, false);
  x = a2.x - a1.x + ox;
  y = a2.y - a1.y + oy;
  if (c) {
    w = this$static.dom_0.offsetWidth || 0;
    h = this$static.dom_0.offsetHeight || 0;
    r = $getRegion(el);
    dw = ($clinit_34() , getViewportWidth()) - 10;
    dh = getViewportHeight() - 10;
    p1y = p1.charCodeAt(0);
    p1x = p1.charCodeAt(p1.length - 1);
    p2y = p2.charCodeAt(0);
    p2x = p2.charCodeAt(p2.length - 1);
    swapY = p1y == 116 && p2y == 98 || p1y == 98 && p2y == 116;
    swapX = p1x == 114 && p2x == 108 || p1x == 108 && p2x == 114;
    scrollX = getBodyScrollLeft() + 5;
    scrollY = getBodyScrollTop() + 5;
    x + w > dw + scrollX && (x = swapX?r.left_0 - w:dw + scrollX - w);
    x < scrollX && (x = swapX?r.right:scrollX);
    y + h > dh + scrollY && (y = swapY?r.top_0 - h:dh + scrollY - h);
    y < scrollY && (y = swapY?r.bottom:scrollY);
  }
  return $Point(new Point, x, y);
}

function $getAlignToXY_0(this$static, align, pos, offsets){
  offsets == null && (offsets = initValues(_3I_classLit, 328, -1, [0, 0]));
  return $getAlignToXY(this$static, align, pos, offsets[0], offsets[1]);
}

function $getAnchorXY(this$static, anchor, local){
  var h, o, sc, vp, w, x, y;
  if (anchor == null) {
    return null;
  }
  vp = false;
  if (this$static.dom_0 == ($clinit_34() , $doc.body || $doc.documentElement) || this$static.dom_0 == $doc) {
    vp = true;
    w = getViewportWidth();
    h = getViewportHeight();
  }
   else {
    w = this$static.dom_0.offsetWidth || 0;
    h = this$static.dom_0.offsetHeight || 0;
  }
  x = 0;
  y = 0;
  if (anchor.length == 1) {
    if ($equalsIgnoreCase('c', anchor)) {
      x = lowBits_0(fromDouble(Math.round(w * 0.5)));
      y = lowBits_0(fromDouble(Math.round(h * 0.5)));
    }
     else if ($equalsIgnoreCase('t', anchor)) {
      x = lowBits_0(fromDouble(Math.round(w * 0.5)));
      y = 0;
    }
     else if ($equalsIgnoreCase('l', anchor)) {
      x = 0;
      y = lowBits_0(fromDouble(Math.round(h * 0.5)));
    }
     else if ($equalsIgnoreCase('r', anchor)) {
      x = w;
      y = lowBits_0(fromDouble(Math.round(h * 0.5)));
    }
     else if ($equalsIgnoreCase('b', anchor)) {
      x = lowBits_0(fromDouble(Math.round(w * 0.5)));
      y = h;
    }
  }
   else {
    if ($equalsIgnoreCase('tl', anchor)) {
      x = 0;
      y = 0;
    }
     else if ($equalsIgnoreCase('bl', anchor)) {
      x = 0;
      y = h;
    }
     else if ($equalsIgnoreCase('br', anchor)) {
      x = w;
      y = h;
    }
     else if ($equalsIgnoreCase('tr', anchor)) {
      x = w;
      y = 0;
    }
  }
  if (local) {
    return $Point(new Point, x, y);
  }
  if (vp) {
    sc = $getScroll(this$static);
    return $Point(new Point, x + sc.scrollLeft_0, y + sc.scrollTop_0);
  }
  o = $Point(new Point, $getAbsoluteLeft(($clinit_308() , this$static.dom_0)), $getAbsoluteTop(this$static.dom_0));
  return $Point(new Point, x + o.x, y + o.y);
}

function $getBounds(this$static, local, adjust){
  var p, rect, s;
  s = $getSize(this$static, adjust);
  rect = new Rectangle;
  rect.width = s.width;
  rect.height = s.height;
  if (local) {
    rect.x = parseInt(dynamicCast($getStyleAttribute_1(computedStyle, this$static.dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['left']))).map['left'], 1), 10) || 0;
    rect.y = parseInt(dynamicCast($getStyleAttribute_1(computedStyle, this$static.dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['top']))).map['top'], 1), 10) || 0;
  }
   else {
    p = $Point(new Point, $getAbsoluteLeft(($clinit_308() , this$static.dom_0)), $getAbsoluteTop(this$static.dom_0));
    rect.x = p.x;
    rect.y = p.y;
  }
  return rect;
}

function $getConstrainToXY(this$static, elem, proposedXY){
  var h, vb, vh, vr, vw, w, x, xy, y;
  if (elem == ($clinit_34() , $doc.body || $doc.documentElement)) {
    vw = $Size(new Size, getViewportWidth(), getViewportHeight()).width;
    vh = $Size(new Size, getViewportWidth(), getViewportHeight()).height;
  }
   else {
    vw = fly_1(elem, '_internal').dom_0.offsetWidth || 0;
    vh = fly_1(elem, '_internal').dom_0.offsetHeight || 0;
  }
  xy = proposedXY;
  x = xy.x;
  y = xy.y;
  vr = vw;
  vb = vh;
  w = this$static.dom_0.offsetWidth || 0;
  h = this$static.dom_0.offsetHeight || 0;
  x + w > vr && (x = vr - w);
  y + h > vb && (y = vb - h);
  x < 0 && (x = 0);
  y < 0 && (y = 0);
  return $Point(new Point, x, y);
}

function $getFrameSize(this$static){
  var height, list, map, s, s$iterator, width;
  width = 0;
  height = 0;
  list = $ArrayList(new ArrayList);
  setCheck(list.array, list.size++, 'paddingLeft');
  setCheck(list.array, list.size++, 'borderLeftWidth');
  setCheck(list.array, list.size++, 'paddingRight');
  setCheck(list.array, list.size++, 'borderRightWidth');
  setCheck(list.array, list.size++, 'paddingTop');
  setCheck(list.array, list.size++, 'borderTopWidth');
  setCheck(list.array, list.size++, 'paddingBottom');
  setCheck(list.array, list.size++, 'borderBottomWidth');
  map = $getStyleAttribute_1(computedStyle, this$static.dom_0, list);
  for (s$iterator = $keySet_1($FastMap$2(new FastMap$2, map).this$0.map).iterator_0(); s$iterator.hasNext();) {
    s = dynamicCast(s$iterator.next_0(), 1);
    (leftRightTest == null && (leftRightTest = new RegExp('Left|Right')) , leftRightTest.test(s))?(width += parseInt(dynamicCast(map.map['' + s], 1), 10) || 0):(height += parseInt(dynamicCast(map.map['' + s], 1), 10) || 0);
  }
  return $Size(new Size, width, height);
}

function $getFrameWidth(this$static, sides){
  var frameWidth, list, map, s, s$iterator;
  frameWidth = 0;
  list = $ArrayList(new ArrayList);
  if (sides.indexOf('l') != -1) {
    setCheck(list.array, list.size++, 'paddingLeft');
    setCheck(list.array, list.size++, 'borderLeftWidth');
  }
  if (sides.indexOf('r') != -1) {
    setCheck(list.array, list.size++, 'paddingRight');
    setCheck(list.array, list.size++, 'borderRightWidth');
  }
  if (sides.indexOf('t') != -1) {
    setCheck(list.array, list.size++, 'paddingTop');
    setCheck(list.array, list.size++, 'borderTopWidth');
  }
  if (sides.indexOf('b') != -1) {
    setCheck(list.array, list.size++, 'paddingBottom');
    setCheck(list.array, list.size++, 'borderBottomWidth');
  }
  map = $getStyleAttribute_1(computedStyle, this$static.dom_0, list);
  for (s$iterator = $keySet_1($FastMap$2(new FastMap$2, map).this$0.map).iterator_0(); s$iterator.hasNext();) {
    s = dynamicCast(s$iterator.next_0(), 1);
    frameWidth += parseInt(dynamicCast(map.map['' + s], 1), 10) || 0;
  }
  return frameWidth;
}

function $getHeight(this$static, content){
  var h;
  h = this$static.dom_0.offsetHeight || 0;
  content && (h -= $getFrameWidth(this$static, 'tb'));
  return h;
}

function $getId(this$static){
  var id;
  id = $getPropertyString(this$static.dom_0, 'id');
  if (id == null || id != null && id.length == 0) {
    id = ($clinit_34() , 'x-auto-' + autoId++);
    $setId(this$static, id);
  }
  return id;
}

function $getIntStyleAttribute(this$static, attr){
  var v;
  v = this$static.dom_0.style[attr];
  if (v == null || $equals_4(v, '')) {
    return 0;
  }
  return parseInt(v, 10) || 0;
}

function $getLeft(this$static, local){
  return local?parseInt(dynamicCast($getStyleAttribute_1(computedStyle, this$static.dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['left']))).map['left'], 1), 10) || 0:$getAbsoluteLeft(($clinit_308() , this$static.dom_0));
}

function $getMargins(this$static, sides){
  var list, map, margin, s, s$iterator;
  margin = 0;
  list = $ArrayList(new ArrayList);
  sides.indexOf('l') != -1 && setCheck(list.array, list.size++, 'marginLeft');
  sides.indexOf('r') != -1 && setCheck(list.array, list.size++, 'marginRight');
  sides.indexOf('t') != -1 && setCheck(list.array, list.size++, 'marginTop');
  sides.indexOf('b') != -1 && setCheck(list.array, list.size++, 'marginBottom');
  map = $getStyleAttribute_1(computedStyle, this$static.dom_0, list);
  for (s$iterator = $keySet_1($FastMap$2(new FastMap$2, map).this$0.map).iterator_0(); s$iterator.hasNext();) {
    s = dynamicCast(s$iterator.next_0(), 1);
    margin += parseInt(dynamicCast(map.map['' + s], 1), 10) || 0;
  }
  return margin;
}

function $getPadding(this$static, sides){
  var list, map, padding, s, s$iterator;
  padding = 0;
  list = $ArrayList(new ArrayList);
  sides.indexOf('l') != -1 && setCheck(list.array, list.size++, 'paddingLeft');
  sides.indexOf('r') != -1 && setCheck(list.array, list.size++, 'paddingRight');
  sides.indexOf('t') != -1 && setCheck(list.array, list.size++, 'paddingTop');
  sides.indexOf('b') != -1 && setCheck(list.array, list.size++, 'paddingBottom');
  map = $getStyleAttribute_1(computedStyle, this$static.dom_0, list);
  for (s$iterator = $keySet_1($FastMap$2(new FastMap$2, map).this$0.map).iterator_0(); s$iterator.hasNext();) {
    s = dynamicCast(s$iterator.next_0(), 1);
    padding += parseInt(dynamicCast(map.map['' + s], 1), 10) || 0;
  }
  return padding;
}

function $getParent(this$static){
  var e, parent_0;
  e = (parent_0 = ($clinit_308() , this$static.dom_0).parentNode , (!parent_0 || parent_0.nodeType != 1) && (parent_0 = null) , parent_0);
  return !e?null:$El(new El, e);
}

function $getRegion(this$static){
  var bounds, r;
  bounds = $getBounds(this$static, false, false);
  r = new Region;
  r.left_0 = bounds.x;
  r.top_0 = bounds.y;
  r.right = r.left_0 + bounds.width;
  r.bottom = r.top_0 + bounds.height;
  return r;
}

function $getScroll(this$static){
  if (this$static.dom_0 == ($clinit_34() , $doc.body || $doc.documentElement) || this$static.dom_0 == $doc) {
    return $Scroll(new Scroll_0, getBodyScrollLeft(), getBodyScrollTop());
  }
   else {
    return $Scroll(new Scroll_0, parseInt(this$static.dom_0['scrollLeft']) || 0, parseInt(this$static.dom_0['scrollTop']) || 0);
  }
}

function $getSize(this$static, content){
  var frameWidth, h, w;
  w = this$static.dom_0.offsetWidth || 0;
  h = this$static.dom_0.offsetHeight || 0;
  if (content) {
    frameWidth = $getFrameSize(this$static);
    w -= frameWidth.width;
    h -= frameWidth.height;
  }
  return $Size(new Size, w, h);
}

function $getStyleSize(this$static){
  var frameWidth, h, height, isBorderBox, l, map, w, width, w_0, h_0;
  frameWidth = null;
  isBorderBox = isBorderBox_1(this$static.dom_0);
  isBorderBox && (frameWidth = $getFrameSize(this$static));
  l = $ArrayList(new ArrayList);
  setCheck(l.array, l.size++, 'width');
  setCheck(l.array, l.size++, 'height');
  map = $getStyleAttribute_1(computedStyle, this$static.dom_0, l);
  w = -1;
  h = -1;
  width = dynamicCast(map.map['width'], 1);
  if (!$equals_4('', width) && !$equals_4('auto', width)) {
    w = parseInt(width, 10) || 10;
    isBorderBox && (w -= frameWidth.width);
  }
  height = dynamicCast(map.map['height'], 1);
  if (!$equals_4('', height) && !$equals_4('auto', height)) {
    h = parseInt(height, 10) || 10;
    isBorderBox && (h -= frameWidth.height);
  }
  if (w == -1 && h == -1) {
    return $getSize(this$static, true);
  }
  return $Size(new Size, w != -1?w:(w_0 = this$static.dom_0.offsetWidth || 0 , w_0 -= $getFrameWidth(this$static, 'lr') , w_0), h != -1?h:(h_0 = this$static.dom_0.offsetHeight || 0 , h_0 -= $getFrameWidth(this$static, 'tb') , h_0));
}

function $getSubChild(this$static, depth){
  var child;
  child = this$static.dom_0;
  while (depth-- > 0) {
    child = $getChild_0(child, 0);
  }
  return child;
}

function $getTextWidth(this$static){
  var html, metrics;
  html = ($clinit_308() , this$static.dom_0).innerHTML;
  metrics = get_4();
  $bind_0(metrics, $El(new El, this$static.dom_0));
  return $setStyleAttribute(metrics.el, 'width', 'auto') , $getSize_0(metrics, html).width;
}

function $getTop(this$static, local){
  return local?parseInt(dynamicCast($getStyleAttribute_1(computedStyle, this$static.dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['top']))).map['top'], 1), 10) || 0:$getAbsoluteTop(($clinit_308() , this$static.dom_0));
}

function $getWidth(this$static, content){
  var w;
  w = this$static.dom_0.offsetWidth || 0;
  content && (w -= $getFrameWidth(this$static, 'lr'));
  return w;
}

function $getXY(this$static){
  return $Point(new Point, $getAbsoluteLeft(($clinit_308() , this$static.dom_0)), $getAbsoluteTop(this$static.dom_0));
}

function $insertBefore(this$static, before){
  var parent_0;
  (parent_0 = ($clinit_308() , before).parentNode , (!parent_0 || parent_0.nodeType != 1) && (parent_0 = null) , parent_0).insertBefore(this$static.dom_0, before);
  return this$static;
}

function $insertBefore_0(this$static, child, before){
  this$static.dom_0.insertBefore(child, before);
  return this$static;
}

function $insertChild(this$static, child, index){
  $insertChild_0(this$static.dom_0, child, index);
  return this$static;
}

function $insertFirst(this$static, element){
  $insertChild_0(this$static.dom_0, element, 0);
  return this$static;
}

function $insertInto(this$static, parent_0){
  $appendChild(fly_1(parent_0, '_internal'), this$static.dom_0);
  return this$static;
}

function $insertInto_0(this$static, parent_0, index){
  $insertChild(fly_1(parent_0, '_internal'), this$static.dom_0, index);
  return this$static;
}

function $insertLast(this$static, child){
  var idx;
  idx = this$static.dom_0.childNodes.length;
  $insertChild_0(this$static.dom_0, child, idx);
  return this$static;
}

function $isOrHasChild(this$static, child){
  return $isOrHasChild_0(($clinit_308() , this$static.dom_0), child);
}

function $isStyleAttribute(this$static, map, matchAll){
  var a, collection, s, s$iterator;
  collection = $FastMap$2(new FastMap$2, map);
  a = $getStyleAttribute_1(computedStyle, this$static.dom_0, $ArrayList_0(new ArrayList, collection));
  for (s$iterator = $keySet_1(collection.this$0.map).iterator_0(); s$iterator.hasNext();) {
    s = dynamicCast(s$iterator.next_0(), 1);
    if ($equals_4(dynamicCast(map.map['' + s], 1), a.map['' + s])) {
      if (!matchAll) {
        return true;
      }
    }
     else {
      if (matchAll) {
        return false;
      }
    }
  }
  return false;
}

function $isVisible(this$static, deep){
  var map, p, parent_0, vis, parent_2;
  map = $FastMap(new FastMap);
  $put_1(map.map, 'visibility', 'hidden');
  $put_1(map.map, 'display', 'none');
  vis = !$isStyleAttribute(this$static, map, false);
  parent_0 = $getParent(this$static);
  p = parent_0?parent_0.dom_0:null;
  if (!p) {
    return false;
  }
  if (!deep || !vis) {
    return vis;
  }
  while (!!p && p != ($clinit_34() , $doc.body || $doc.documentElement)) {
    if (!$isVisible(fly_1(p, '_isVisible'), false)) {
      return false;
    }
    p = (parent_2 = ($clinit_308() , p).parentNode , (!parent_2 || parent_2.nodeType != 1) && (parent_2 = null) , parent_2);
  }
  return true;
}

function $lastChild(this$static){
  var e;
  e = $getChild_0(this$static.dom_0, $getChildCount(this$static.dom_0) - 1);
  return !e?null:$El(new El, e);
}

function $makePositionable(this$static, absolute){
  absolute?$setStyleAttribute_0(computedStyle, this$static.dom_0, 'position', 'absolute'):$equals_4('static', dynamicCast($getStyleAttribute_1(computedStyle, this$static.dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['position']))).map['position'], 1)) && $setStyleAttribute_0(computedStyle, this$static.dom_0, 'position', 'relative');
  return this$static;
}

function $mask(this$static, message, messageStyleName){
  var firstChild;
  $equals_4('static', dynamicCast($getStyleAttribute_1(computedStyle, this$static.dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['position']))).map['position'], 1)) && $addStyleName(this$static, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-masked-relative']));
  !!this$static._maskMsg && this$static._maskMsg.remove();
  !!this$static._mask && this$static._mask.remove();
  this$static._mask = $El_0(new El, "<div class='ext-el-mask'><\/div>");
  $addStyleName(this$static, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-masked']));
  $setDisplayed(this$static._mask, true);
  $appendChild(this$static, this$static._mask.dom_0);
  if (message != null) {
    this$static._maskMsg = $El_0(new El, "<div class='ext-el-mask-msg'><div><\/div><\/div>");
    messageStyleName != null && $addStyleName(this$static._maskMsg, initValues(_3Ljava_lang_String_2_classLit, 340, 1, [messageStyleName]));
    $setInnerHtml((firstChild = $getFirstChildElement(($clinit_308() , this$static._maskMsg.dom_0)) , !firstChild?null:$El(new El, firstChild)), message);
    $setDisplayed(this$static._maskMsg, true);
    $appendChild(this$static, this$static._maskMsg.dom_0);
    $center_0(this$static._maskMsg, this$static.dom_0);
  }
  ($clinit_0() , isIE_0) && !(isIE7 && isStrict) && $equals_4('auto', dynamicCast($getStyleAttribute_1(computedStyle, this$static.dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['height']))).map['height'], 1)) && $setSize_0(this$static._mask, this$static.dom_0.offsetWidth || 0, this$static.dom_0.offsetHeight || 0, false);
  return this$static._mask;
}

function $removeChildren(this$static){
  var child;
  child = null;
  while (child = $firstChild(this$static)) {
    this$static.dom_0.removeChild(child.dom_0);
  }
  this$static.dom_0.innerHTML = '';
  return this$static;
}

function $removeFromParent(this$static){
  var p, parent_0;
  p = (parent_0 = ($clinit_308() , this$static.dom_0).parentNode , (!parent_0 || parent_0.nodeType != 1) && (parent_0 = null) , parent_0);
  !!p && p.removeChild(this$static.dom_0);
  return this$static;
}

function $removeStyleName_0(this$static, styleNames){
  var s, s$array, s$index, s$max;
  for (s$array = styleNames , s$index = 0 , s$max = s$array.length; s$index < s$max; ++s$index) {
    s = s$array[s$index];
    $removeStyleName_1(this$static, s);
  }
  return this$static;
}

function $removeStyleName_1(this$static, styleName){
  var dom = this$static.dom_0;
  !removeStyleNameReCache && (removeStyleNameReCache = {});
  if (styleName && dom.className) {
    var s = removeStyleNameReCache[styleName] = removeStyleNameReCache[styleName] || new RegExp('(?:^|\\s+)' + styleName + '(?:\\s+|$)', 'g');
    dom.className = dom.className.replace(s, ' ');
  }
  return this$static;
}

function $repaint(this$static){
  $addStyleName(this$static, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-repaint']));
  $removeStyleName_1(this$static, 'x-repaint');
  return this$static;
}

function $scrollIntoView(this$static, container, hscroll, offsets){
  var b, c, cb, ch, cl, cr, ct, cw, l, o, r, t, e, o_0;
  offsets == null && (offsets = initValues(_3I_classLit, 328, -1, [0, 0]));
  c = container?container:($clinit_34() , $doc.body || $doc.documentElement);
  o = (o_0 = $Point(new Point, $getAbsoluteLeft(($clinit_308() , this$static.dom_0)), $getAbsoluteTop(this$static.dom_0)) , e = $getXY(fly_1(c, '_internal')) , $Point(new Point, o_0.x - e.x, o_0.y - e.y));
  l = o.x;
  t = o.y;
  l = l + $getScrollLeft_0(c);
  t = t + (c.scrollTop || 0);
  b = t + (this$static.dom_0.offsetHeight || 0) + offsets[0];
  r = l + (this$static.dom_0.offsetWidth || 0) + offsets[1];
  ch = c.clientHeight;
  ct = c.scrollTop || 0;
  cb = ct + ch;
  (this$static.dom_0.offsetHeight || 0) > ch || t < ct?(c.scrollTop = t , undefined):b > cb && (c.scrollTop = b - ch , undefined);
  if (hscroll) {
    cl = $getScrollLeft_0(c);
    cw = c.clientWidth;
    cr = cl + cw;
    (this$static.dom_0.offsetWidth || 0) > cw || l < cl?$setScrollLeft_1(c, l):r > cr && $setScrollLeft_1(c, r - cw);
  }
  return this$static;
}

function $selectNode(this$static, selector){
  var el;
  el = ($clinit_18() , $wnd.GXT.Ext.DomQuery.select(selector, this$static.dom_0)[0]);
  if (el) {
    return $El(new El, el);
  }
  return null;
}

function $setBorders(this$static, show){
  if (show) {
    $addStyleName(this$static, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-border']));
    $setStyleAttribute_0(computedStyle, this$static.dom_0, 'borderWidth', '1px');
  }
   else {
    $removeStyleName_1(this$static, 'x-border');
    $setStyleAttribute_0(computedStyle, this$static.dom_0, 'borderWidth', '0px');
  }
  return this$static;
}

function $setBounds(this$static, x, y, width, height, adjust){
  $setXY(this$static, $Point(new Point, x, -1));
  $setXY(this$static, $Point(new Point, -1, y));
  $setSize_0(this$static, width, height, adjust);
  return this$static;
}

function $setBounds_0(this$static, bounds){
  $setBounds(this$static, bounds.x, bounds.y, bounds.width, bounds.height, false);
  return this$static;
}

function $setDisplayed(this$static, display){
  var value;
  value = display?this$static.originalDisplay:'none';
  $setStyleAttribute_0(computedStyle, this$static.dom_0, 'display', '' + value);
  return this$static;
}

function $setElementAttribute(this$static, attr, value){
  this$static.dom_0.setAttribute(attr, value);
  return this$static;
}

function $setFocus(this$static, focus_0){
  var dom = this$static.dom_0;
  try {
    focus_0?dom.focus():dom.blur();
  }
   catch (err) {
  }
  return this$static;
}

function $setHeight(this$static, height, adjust){
  adjust && !isBorderBox_1(this$static.dom_0) && (height -= $getFrameWidth(this$static, 'tb'));
  height >= 0 && (this$static.dom_0.style['height'] = height + ($clinit_318() , 'px') , undefined);
  return this$static;
}

function $setId(this$static, id){
  id == null && (id = ($clinit_34() , 'x-auto-' + autoId++));
  this$static.dom_0.id = id;
  return this$static;
}

function $setInnerHtml(this$static, html){
  this$static.dom_0.innerHTML = html || '';
  return this$static;
}

function $setLeftTop(this$static, left, top_0){
  this$static.setLeft(left);
  this$static.setTop(top_0);
  return this$static;
}

function $setPagePosition(this$static, x, y){
  $setXY(this$static, $Point(new Point, x, -1));
  $setXY(this$static, $Point(new Point, -1, y));
  return this$static;
}

function $setScrollLeft(this$static, left){
  this$static.dom_0['scrollLeft'] = left;
  return this$static;
}

function $setScrollTop(this$static, top_0){
  this$static.dom_0['scrollTop'] = top_0;
  return this$static;
}

function $setSize(this$static, width, height){
  $setSize_0(this$static, width, height, false);
  return this$static;
}

function $setSize_0(this$static, width, height, adjust){
  var frameWidth;
  if (adjust && !isBorderBox_1(this$static.dom_0)) {
    frameWidth = $getFrameSize(this$static);
    width -= frameWidth.width;
    height -= frameWidth.height;
  }
  width >= 0 && (this$static.dom_0.style['width'] = width + ($clinit_318() , 'px') , undefined);
  height >= 0 && (this$static.dom_0.style['height'] = height + ($clinit_318() , 'px') , undefined);
  return this$static;
}

function $setStyleAttribute(this$static, attr, value){
  $setStyleAttribute_0(computedStyle, this$static.dom_0, attr, '' + value);
  return this$static;
}

function $setStyleName(this$static, style){
  this$static.dom_0.className = style;
  return this$static;
}

function $setStyleName_0(this$static, style, add){
  add?$addStyleName(this$static, initValues(_3Ljava_lang_String_2_classLit, 340, 1, [style])):$removeStyleName_1(this$static, style);
  return this$static;
}

function $setValue(this$static, value){
  this$static.dom_0['value'] = value;
  return this$static;
}

function $setVisibilityMode(this$static, visMode){
  this$static.visiblityMode = visMode;
  return this$static;
}

function $setVisible(this$static, visible){
  var value;
  if (this$static.visiblityMode == ($clinit_20() , DISPLAY_0)) {
    return value = visible?this$static.originalDisplay:'none' , $setStyleAttribute_0(computedStyle, this$static.dom_0, 'display', '' + value) , this$static;
  }
   else {
    return this$static.setVisibility(visible);
  }
}

function $setWidth(this$static, width, adjust){
  adjust && !isBorderBox_1(this$static.dom_0) && (width -= $getFrameWidth(this$static, 'lr'));
  width >= 0 && (this$static.dom_0.style['width'] = width + ($clinit_318() , 'px') , undefined);
  return this$static;
}

function $setXY(this$static, p){
  var pts;
  $makePositionable(this$static, false);
  pts = $translatePoints(this$static, p);
  p.x != -1 && this$static.setLeft(pts.x);
  p.y != -1 && this$static.setTop(pts.y);
  return this$static;
}

function $slideIn(this$static, direction, config){
  var fx;
  fx = $Fx(new Fx, config);
  $run(fx, $BaseEffect$SlideIn(new BaseEffect$SlideIn, this$static, direction));
  return this$static;
}

function $slideOut(this$static, direction, config){
  var fx;
  fx = $Fx(new Fx, config);
  $run(fx, $BaseEffect$SlideOut(new BaseEffect$SlideOut, this$static, direction));
  return this$static;
}

function $subChild(this$static, depth){
  var child;
  child = this$static.dom_0;
  while (depth-- > 0) {
    child = $getChild_0(child, 0);
  }
  return $El(new El, child);
}

function $translatePoints(this$static, p){
  var l, list, map, o, relative, t;
  list = $ArrayList_1(new ArrayList, 3);
  setCheck(list.array, list.size++, 'position');
  setCheck(list.array, list.size++, 'left');
  setCheck(list.array, list.size++, 'top');
  map = $getStyleAttribute_1(computedStyle, this$static.dom_0, list);
  relative = $equals_4('relative', map.map['position']);
  l = parseInt(dynamicCast(map.map['left'], 1), 10) || -11234;
  t = parseInt(dynamicCast(map.map['top'], 1), 10) || -11234;
  l = l != -11234?l:relative?0:this$static.dom_0.offsetLeft || 0;
  t = t != -11234?t:relative?0:this$static.dom_0.offsetTop || 0;
  o = $Point(new Point, $getAbsoluteLeft(($clinit_308() , this$static.dom_0)), $getAbsoluteTop(this$static.dom_0));
  return $Point(new Point, p.x - o.x + l, p.y - o.y + t);
}

function $unmask(this$static){
  if (this$static._mask) {
    if (this$static._maskMsg) {
      this$static._maskMsg.remove();
      this$static._maskMsg = null;
    }
    this$static._mask.setVisible(false);
    this$static._mask.remove();
    this$static._mask = null;
    $removeStyleName_0(this$static, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-masked', 'x-masked-relative']));
  }
  return this$static;
}

function $unwrap(this$static, child, bounds){
  var p, pos, parent_0;
  $setLeftTop(fly_1(child, '_internal'), bounds.x, bounds.y);
  p = (parent_0 = ($clinit_308() , this$static.dom_0).parentNode , (!parent_0 || parent_0.nodeType != 1) && (parent_0 = null) , parent_0);
  pos = $getChildIndex(p, this$static.dom_0);
  p.removeChild(this$static.dom_0);
  $insertChild_0(p, child, pos);
  return this$static;
}

function $update(this$static, html){
  this$static.dom_0.innerHTML = html || '';
  return this$static;
}

function $updateZIndex(this$static, adj){
  this$static.setZIndex(($clinit_34() , $clinit_34() , ++zIndexId) + adj);
  return this$static;
}

function $wrap(this$static, wrapper){
  var h, l, pos, t, w, wrap, h_0, w_0;
  wrap = $El(new El, wrapper);
  wrap.setVisible(false);
  pos = dynamicCast($getStyleAttribute_1(computedStyle, this$static.dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['position']))).map['position'], 1);
  $setStyleAttribute_0(computedStyle, wrap.dom_0, 'position', '' + pos);
  l = parseInt(dynamicCast($getStyleAttribute_1(computedStyle, this$static.dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['left']))).map['left'], 1), 10) || 0;
  t = parseInt(dynamicCast($getStyleAttribute_1(computedStyle, this$static.dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['top']))).map['top'], 1), 10) || 0;
  this$static.setLeft(5000);
  this$static.setVisible(true);
  h = (h_0 = this$static.dom_0.offsetHeight || 0 , h_0 == 0 && (h_0 = $getIntStyleAttribute(this$static, 'height')) , h_0);
  w = (w_0 = this$static.dom_0.offsetWidth || 0 , w_0 == 0 && (w_0 = $getIntStyleAttribute(this$static, 'width')) , w_0);
  this$static.setLeft(1);
  $setStyleAttribute_0(computedStyle, this$static.dom_0, 'overflow', 'hidden');
  this$static.setVisible(false);
  $insertBefore(wrap, this$static.dom_0);
  $appendChild(wrap, this$static.dom_0);
  $setStyleAttribute_0(computedStyle, wrap.dom_0, 'overflow', 'hidden');
  wrap.setLeft(l);
  wrap.setTop(t);
  this$static.setTop(0);
  this$static.setLeft(0);
  return $Rectangle(new Rectangle, l, t, w, h);
}

function addUnits(v, defaultUnit){
  $clinit_19();
  if (v === '' || v == 'auto') {
    return v;
  }
  if (v === undefined) {
    return '';
  }
  if (typeof v == 'number' || !/\d+(px|em|%|en|ex|pt|in|cm|mm|pc)$/i.test(v)) {
    return v + (defaultUnit || 'px');
  }
  return v;
}

function applyStyles(styles){
  return $applyStyles(this, styles);
}

--></script>
<script><!--
function disableTextSelectInternal(e, disable){
  if (disable) {
    e.ondrag = function(evt){
      var targ;
      !evt && (evt = $wnd.event);
      evt.target?(targ = evt.target):evt.srcElement && (targ = evt.srcElement);
      targ.nodeType == 3 && (targ = targ.parentNode);
      if (targ.tagName == 'INPUT' || targ.tagName == 'TEXTAREA') {
        return true;
      }
      return false;
    }
    ;
    e.onselectstart = function(evt){
      var targ;
      !evt && (evt = $wnd.event);
      evt.target?(targ = evt.target):evt.srcElement && (targ = evt.srcElement);
      targ.nodeType == 3 && (targ = targ.parentNode);
      if (targ.tagName == 'INPUT' || targ.tagName == 'TEXTAREA') {
        return true;
      }
      return false;
    }
    ;
  }
   else {
    e.ondrag = null;
    e.onselectstart = null;
  }
}

function equals_1(obj){
  if (obj != null && canCast(obj.typeId$, 2)) {
    return $equals_4($getId(this), $getId(dynamicCast(obj, 2)));
  }
  return this === (obj == null?null:obj);
}

function fly_0(element, s){
  $clinit_19();
  var g;
  g = dynamicCast(flyweights.map['' + s], 2);
  if (!g) {
    g = $El(new El, ($clinit_308() , $doc).createElement('div'));
    $put_0(flyweights, s, g);
  }
  g.dom_0 = element;
  return g;
}

function fly_1(element, s){
  $clinit_19();
  var g;
  g = dynamicCast(flyweights.map['' + s], 2);
  if (!g) {
    g = $El(new El, ($clinit_308() , $doc).createElement('div'));
    $put_0(flyweights, s, g);
  }
  g.dom_0 = element;
  return g;
}

function getClass_16(){
  return Lcom_extjs_gxt_ui_client_core_El_2_classLit;
}

function getStyleAttribute(attr){
  return dynamicCast($getStyleAttribute_1(computedStyle, this.dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, [attr]))).map['' + attr], 1);
}

function isBorderBox_1(element){
  $clinit_19();
  var r, tag, testElement;
  tag = ($clinit_308() , element).tagName.toLowerCase();
  r = dynamicCast(borderBoxMap.map['' + tag], 3);
  if (!r) {
    testElement = $doc.createElement(tag);
    testElement.style['padding'] = 1 + ($clinit_318() , 'px');
    testElement.style['width'] = '100px';
    testElement.style['visibility'] = 'hidden';
    testElement.style['position'] = 'absolute';
    ($clinit_34() , $doc.body || $doc.documentElement).appendChild(testElement);
    r = ($clinit_484() , (testElement.offsetWidth || 0) == 100?TRUE_0:FALSE_0);
    ($doc.body || $doc.documentElement).removeChild(testElement);
    $put_0(borderBoxMap, tag, r);
  }
  return r.value;
}

function remove_0(){
  return $removeFromParent(this);
}

function setHeight(height, adjust){
  return $setHeight(this, height, adjust);
}

function setHeight_0(height){
  return this.dom_0.style['height'] = addUnits(height, 'px') , this;
}

function setLeft(left){
  return this.dom_0.style['left'] = left + ($clinit_318() , 'px') , this;
}

function setStyleAttribute(attr, value){
  return $setStyleAttribute_0(computedStyle, this.dom_0, attr, '' + value) , this;
}

function setTop(top_0){
  return this.dom_0.style['top'] = top_0 + ($clinit_318() , 'px') , this;
}

function setVisibility(visible){
  return $setStyleAttribute_0(computedStyle, this.dom_0, 'visibility', '' + (visible?'visible':'hidden')) , this;
}

function setVisible(visible){
  return $setVisible(this, visible);
}

function setWidth(width, adjust){
  return $setWidth(this, width, adjust);
}

function setWidth_0(width){
  return this.dom_0.style['width'] = addUnits(width, 'px') , this;
}

function setZIndex(zIndex){
  return this.dom_0.style['zIndex'] = '' + (0 > zIndex?0:zIndex) , this;
}

function toString_2(){
  return ($clinit_308() , this.dom_0).getAttribute('outerHTML') || '';
}

function El(){
}

_ = El.prototype = new Object_0;
_.applyStyles_0 = applyStyles;
_.equals$ = equals_1;
_.getClass$ = getClass_16;
_.getStyleAttribute = getStyleAttribute;
_.remove = remove_0;
_.setHeight = setHeight;
_.setHeight_0 = setHeight_0;
_.setLeft = setLeft;
_.setStyleAttribute = setStyleAttribute;
_.setTop = setTop;
_.setVisibility = setVisibility;
_.setVisible = setVisible;
_.setWidth = setWidth;
_.setWidth_0 = setWidth_0;
_.setZIndex = setZIndex;
_.toString$ = toString_2;
_.typeId$ = 15;
_._mask = null;
_._maskMsg = null;
_.dom_0 = null;
_.isClipped = false;
_.originalClipped = null;
_.originalDisplay = 'block';
var borderBoxMap, computedStyle, flyweights, leftRightTest = null, removeStyleNameReCache = null;
function $clinit_20(){
  $clinit_20 = nullMethod;
  DISPLAY_0 = $El$VisMode(new El$VisMode, 'DISPLAY', 0);
  VISIBILITY_0 = $El$VisMode(new El$VisMode, 'VISIBILITY', 1);
}

function $El$VisMode(this$static, enum$name, enum$ordinal){
  $clinit_20();
  this$static.name_0 = enum$name;
  this$static.ordinal = enum$ordinal;
  return this$static;
}

function getClass_17(){
  return Lcom_extjs_gxt_ui_client_core_El$VisMode_2_classLit;
}

function values_9(){
  $clinit_20();
  return initValues(_3Lcom_extjs_gxt_ui_client_core_El$VisMode_2_classLit, 312, 13, [DISPLAY_0, VISIBILITY_0]);
}

function El$VisMode(){
}

_ = El$VisMode.prototype = new Enum;
_.getClass$ = getClass_17;
_.typeId$ = 16;
var DISPLAY_0, VISIBILITY_0;
function loadDomHelper(){
  var Ext = $wnd.GXT.Ext;
  if (Ext.DomHelper) {
    return;
  }
  Ext.DomHelper = function(){
    var tempTableEl = null;
    var emptyTags = /^(?:br|frame|hr|img|input|link|meta|range|spacer|wbr|area|param|col)$/i;
    var tableRe = /^table|tbody|tr|td$/i;
    var createHtml = function(o){
      if (typeof o == 'string') {
        return o;
      }
      var b = '';
      !o.tag && (o.tag = 'div');
      b += '<' + o.tag;
      for (var attr in o) {
        if (attr == 'tag' || attr == 'children' || attr == 'cn' || attr == 'html' || typeof o[attr] == 'function')
          continue;
        if (attr == 'style') {
          var s = o['style'];
          typeof s == 'function' && (s = s.call());
          if (typeof s == 'string') {
            b += ' style="' + s + '"';
          }
           else if (typeof s == 'object') {
            b += ' style="';
            for (var key in s) {
              typeof s[key] != 'function' && (b += key + ':' + s[key] + ';');
            }
            b += '"';
          }
        }
         else {
          attr == 'cls'?(b += ' class="' + o['cls'] + '"'):attr == 'htmlFor'?(b += ' for="' + o['htmlFor'] + '"'):(b += ' ' + attr + '="' + o[attr] + '"');
        }
      }
      if (emptyTags.test(o.tag)) {
        b += '/>';
      }
       else {
        b += '>';
        var cn = o.children || o.cn;
        if (cn) {
          if (cn instanceof Array) {
            for (var i = 0, len = cn.length; i < len; i++) {
              b += createHtml(cn[i], b);
            }
          }
           else {
            b += createHtml(cn, b);
          }
        }
        o.html && (b += o.html);
        b += '<\/' + o.tag + '>';
      }
      return b;
    }
    ;
    var createDom = function(o, parentNode){
      var el = document.createElement(o.tag || 'div');
      var useSet = el.setAttribute?true:false;
      for (var attr in o) {
        if (attr == 'tag' || attr == 'children' || attr == 'cn' || attr == 'html' || attr == 'style' || typeof o[attr] == 'function')
          continue;
        attr == 'cls'?(el.className = o['cls']):useSet?el.setAttribute(attr, o[attr]):(el[attr] = o[attr]);
      }
      Ext.DomHelper.applyStyles(el, o.style);
      var cn = o.children || o.cn;
      if (cn) {
        if (cn instanceof Array) {
          for (var i = 0, len = cn.length; i < len; i++) {
            createDom(cn[i], el);
          }
        }
         else {
          createDom(cn, el);
        }
      }
      o.html && (el.innerHTML = o.html);
      parentNode && parentNode.appendChild(el);
      return el;
    }
    ;
    var ieTable = function(depth, s, h, e){
      tempTableEl.innerHTML = [s, h, e].join('');
      var i = -1, el = tempTableEl;
      while (++i < depth) {
        el = el.firstChild;
      }
      return el;
    }
    ;
    var ts = '<table>', te = '<\/table>', tbs = ts + '<tbody>', tbe = '<\/tbody>' + te, trs = tbs + '<tr>', tre = '<\/tr>' + tbe;
    var insertIntoTable = function(tag, where, el, html){
      !tempTableEl && (tempTableEl = document.createElement('div'));
      var node;
      var before = null;
      if (tag == 'td') {
        if (where == 'afterbegin' || where == 'beforeend') {
          return;
        }
        if (where == 'beforebegin') {
          before = el;
          el = el.parentNode;
        }
         else {
          before = el.nextSibling;
          el = el.parentNode;
        }
        node = ieTable(4, trs, html, tre);
      }
       else if (tag == 'tr') {
        if (where == 'beforebegin') {
          before = el;
          el = el.parentNode;
          node = ieTable(3, tbs, html, tbe);
        }
         else if (where == 'afterend') {
          before = el.nextSibling;
          el = el.parentNode;
          node = ieTable(3, tbs, html, tbe);
        }
         else {
          where == 'afterbegin' && (before = el.firstChild);
          node = ieTable(4, trs, html, tre);
        }
      }
       else if (tag == 'tbody') {
        if (where == 'beforebegin') {
          before = el;
          el = el.parentNode;
          node = ieTable(2, ts, html, te);
        }
         else if (where == 'afterend') {
          before = el.nextSibling;
          el = el.parentNode;
          node = ieTable(2, ts, html, te);
        }
         else {
          where == 'afterbegin' && (before = el.firstChild);
          node = ieTable(3, tbs, html, tbe);
        }
      }
       else {
        if (where == 'beforebegin' || where == 'afterend') {
          return;
        }
        where == 'afterbegin' && (before = el.firstChild);
        node = ieTable(2, ts, html, te);
      }
      el.insertBefore(node, before);
      return node;
    }
    ;
    return {useDom:false, markup:function(o){
      return createHtml(o);
    }
    , applyStyles:function(el, styles){
      if (styles) {
        if (typeof styles == 'string') {
          ($clinit_19() , fly_0(el, '_global')).applyStyles_0(styles);
        }
         else if (typeof styles == 'object') {
          for (var style in styles) {
            ($clinit_19() , fly_0(el, '_global')).applyStyles_0(styles[tyle]);
          }
        }
         else 
          typeof styles == 'function' && Ext.DomHelper.applyStyles(el, styles.call());
      }
    }
    , insertHtml:function(where, el, html){
      where = where.toLowerCase();
      if (el.insertAdjacentHTML) {
        if (tableRe.test(el.tagName)) {
          var rs;
          if (rs = insertIntoTable(el.tagName.toLowerCase(), where, el, html)) {
            return rs;
          }
        }
        switch (where) {
          case 'beforebegin':
            el.insertAdjacentHTML('BeforeBegin', html);
            return el.previousSibling;
          case 'afterbegin':
            el.insertAdjacentHTML('AfterBegin', html);
            return el.firstChild;
          case 'beforeend':
            el.insertAdjacentHTML('BeforeEnd', html);
            return el.lastChild;
          case 'afterend':
            el.insertAdjacentHTML('AfterEnd', html);
            return el.nextSibling;
        }
        throw 'Illegal insertion point -> "' + where + '"';
      }
      var range = el.ownerDocument.createRange();
      var frag;
      switch (where) {
        case 'beforebegin':
          range.setStartBefore(el);
          frag = range.createContextualFragment(html);
          el.parentNode.insertBefore(frag, el);
          return el.previousSibling;
        case 'afterbegin':
          if (el.firstChild) {
            range.setStartBefore(el.firstChild);
            frag = range.createContextualFragment(html);
            el.insertBefore(frag, el.firstChild);
            return el.firstChild;
          }
           else {
            el.innerHTML = html;
            return el.firstChild;
          }

        case 'beforeend':
          if (el.lastChild) {
            range.setStartAfter(el.lastChild);
            frag = range.createContextualFragment(html);
            el.appendChild(frag);
            return el.lastChild;
          }
           else {
            el.innerHTML = html;
            return el.lastChild;
          }

        case 'afterend':
          range.setStartAfter(el);
          frag = range.createContextualFragment(html);
          el.parentNode.insertBefore(frag, el.nextSibling);
          return el.nextSibling;
      }
      throw 'Illegal insertion point -> "' + where + '"';
    }
    , insertBefore:function(el, o, returnElement){
      return this.doInsert(el, o, returnElement, 'beforeBegin');
    }
    , insertAfter:function(el, o, returnElement){
      return this.doInsert(el, o, returnElement, 'afterEnd', 'nextSibling');
    }
    , insertFirst:function(el, o, returnElement){
      return this.doInsert(el, o, returnElement, 'afterBegin', 'firstChild');
    }
    , doInsert:function(el, o, returnElement, pos, sibling){
      var newNode;
      if (this.useDom) {
        newNode = createDom(o, null);
        (sibling === 'firstChild'?el:el.parentNode).insertBefore(newNode, sibling?el[sibling]:el);
      }
       else {
        var html = createHtml(o);
        newNode = this.insertHtml(pos, el, html);
      }
      return newNode;
    }
    , append:function(el, o, returnElement){
      var newNode;
      if (this.useDom) {
        newNode = createDom(o, null);
        el.appendChild(newNode);
      }
       else {
        var html = createHtml(o);
        newNode = this.insertHtml('beforeEnd', el, html);
      }
      return newNode;
    }
    , overwrite:function(el, o, returnElement){
      el.innerHTML = createHtml(o);
      return el.firstChild;
    }
    , createTemplate:function(o){
      var html = createHtml(o);
      return new Ext.Template(html);
    }
    };
  }
  ();
}

function loadDomQuery(){
  var Ext = $wnd.GXT.Ext;
  if (Ext.DomQuery) {
    return;
  }
  Ext.DomQuery = function(){
    var cache = {}, simpleCache = {}, valueCache = {};
    var nonSpace = /\S/;
    var trimRe = /^\s+|\s+$/g;
    var tplRe = /\{(\d+)\}/g;
    var modeRe = /^(\s?[\/>+~]\s?|\s|$)/;
    var tagTokenRe = /^(#)?([\w-\*]+)/;
    var nthRe = /(\d*)n\+?(\d*)/, nthRe2 = /\D/;
    var document_0 = $doc;
    ;
    function next(n){
      while ((n = n.nextSibling) && n.nodeType != 1)
      ;
      return n;
    }

    ;
    function prev(n){
      while ((n = n.previousSibling) && n.nodeType != 1)
      ;
      return n;
    }

    ;
    ;
    $wnd.GXT.__byClassName = function(c, a, v){
      if (!v) {
        return c;
      }
      var r = [], ri = -1, cn;
      for (var i = 0, ci; ci = c[i]; i++) {
        (' ' + ci.className + ' ').indexOf(v) != -1 && (r[++ri] = ci);
      }
      return r;
    }
    ;
    function attrValue(n, attr){
      !n.tagName && typeof n.length != 'undefined' && (n = n[0]);
      if (!n) {
        return null;
      }
      if (attr == 'for') {
        return n.htmlFor;
      }
      if (attr == 'class' || attr == 'className') {
        return n.className;
      }
      return n.getAttribute(attr) || n[attr];
    }

    $wnd.GXT.__attrValue = attrValue;
    $wnd.GXT.__getNodes = function(ns, mode, tagName){
      var result = [], ri = -1, cs;
      if (!ns) {
        return result;
      }
      tagName = tagName || '*';
      typeof ns.getElementsByTagName != 'undefined' && (ns = [ns]);
      if (!mode) {
        for (var i = 0, ni; ni = ns[i]; i++) {
          cs = ni.getElementsByTagName(tagName);
          for (var j = 0, ci; ci = cs[j]; j++) {
            result[++ri] = ci;
          }
        }
      }
       else if (mode == '/' || mode == '>') {
        var utag = tagName.toUpperCase();
        for (var i = 0, ni, cn; ni = ns[i]; i++) {
          cn = ni.children || ni.childNodes;
          for (var j = 0, cj; cj = cn[j]; j++) {
            (cj.nodeName == utag || cj.nodeName == tagName || tagName == '*') && (result[++ri] = cj);
          }
        }
      }
       else if (mode == '+') {
        var utag = tagName.toUpperCase();
        for (var i = 0, n; n = ns[i]; i++) {
          while ((n = n.nextSibling) && n.nodeType != 1)
          ;
          n && (n.nodeName == utag || n.nodeName == tagName || tagName == '*') && (result[++ri] = n);
        }
      }
       else if (mode == '~') {
        for (var i = 0, n; n = ns[i]; i++) {
          while ((n = n.nextSibling) && (n.nodeType != 1 || tagName == '*' || n.tagName.toLowerCase() != tagName))
          ;
          n && (result[++ri] = n);
        }
      }
      return result;
    }
    ;
    $wnd.GXT.__byTag = function(cs, tagName){
      (cs.tagName || cs == document_0) && (cs = [cs]);
      if (!tagName) {
        return cs;
      }
      var r = [], ri = -1;
      tagName = tagName.toLowerCase();
      for (var i = 0, ci; ci = cs[i]; i++) {
        ci.nodeType == 1 && ci.tagName.toLowerCase() == tagName && (r[++ri] = ci);
      }
      return r;
    }
    ;
    $wnd.GXT.__byId = function(cs, attr, id){
      (cs.tagName || cs == document_0) && (cs = [cs]);
      if (!id) {
        return cs;
      }
      var r = [], ri = -1;
      for (var i = 0, ci; ci = cs[i]; i++) {
        if (ci && ci.id == id) {
          r[++ri] = ci;
          return r;
        }
      }
      return r;
    }
    ;
    $wnd.GXT.__byAttribute = function(cs, attr, value, op, custom){
      var r = [], ri = -1, st = custom == '{';
      var f_0 = Ext.DomQuery.operators[op];
      for (var i = 0, ci; ci = cs[i]; i++) {
        var a;
        st?(a = Ext.DomQuery.getStyle(ci, attr)):attr == 'class' || attr == 'className'?(a = ci.className):attr == 'for'?(a = ci.htmlFor):attr == 'href'?(a = ci.getAttribute('href', 2)):(a = ci.getAttribute(attr));
        (f_0 && f_0(a, value) || !f_0 && a) && (r[++ri] = ci);
      }
      return r;
    }
    ;
    $wnd.GXT.__byPseudo = function(cs, name_0, value){
      return Ext.DomQuery.pseudos[name_0](cs, value);
    }
    ;
    var isIE = window.ActiveXObject?true:false;
    eval('var batch = 30803;');
    var key = 30803;
    function nodupIEXml(cs){
      var d = ++key;
      cs[0].setAttribute('_nodup', d);
      var r = [cs[0]];
      for (var i = 1, len = cs.length; i < len; i++) {
        var c = cs[i];
        if (!c.getAttribute('_nodup') != d) {
          c.setAttribute('_nodup', d);
          r[r.length] = c;
        }
      }
      for (var i = 0, len = cs.length; i < len; i++) {
        cs[i].removeAttribute('_nodup');
      }
      return r;
    }

    $wnd.GXT.___nodup = function(cs){
      if (!cs) {
        return [];
      }
      var len = cs.length, c, i, r = cs, cj, ri = -1;
      if (!len || typeof cs.nodeType != 'undefined' || len == 1) {
        return cs;
      }
      if (isIE && typeof cs[0].selectSingleNode != 'undefined') {
        return nodupIEXml(cs);
      }
      var d = ++key;
      cs[0]._nodup = d;
      for (i = 1; c = cs[i]; i++) {
        if (c._nodup != d) {
          c._nodup = d;
        }
         else {
          r = [];
          for (var j = 0; j < i; j++) {
            r[++ri] = cs[j];
          }
          for (j = i + 1; cj = cs[j]; j++) {
            if (cj._nodup != d) {
              cj._nodup = d;
              r[++ri] = cj;
            }
          }
          return r;
        }
      }
      return r;
    }
    ;
    function quickDiffIEXml(c1, c2){
      var d = ++key;
      for (var i = 0, len = c1.length; i < len; i++) {
        c1[i].setAttribute('_qdiff', d);
      }
      var r = [];
      for (var i = 0, len = c2.length; i < len; i++) {
        c2[i].getAttribute('_qdiff') != d && (r[r.length] = c2[i]);
      }
      for (var i = 0, len = c1.length; i < len; i++) {
        c1[i].removeAttribute('_qdiff');
      }
      return r;
    }

    function quickDiff(c1, c2){
      var len1 = c1.length;
      if (!len1) {
        return c2;
      }
      if (isIE && c1[0].selectSingleNode) {
        return quickDiffIEXml(c1, c2);
      }
      var d = ++key;
      for (var i = 0; i < len1; i++) {
        c1[i]._qdiff = d;
      }
      var r = [];
      for (var i = 0, len = c2.length; i < len; i++) {
        c2[i]._qdiff != d && (r[r.length] = c2[i]);
      }
      return r;
    }

    function quickId(ns, mode, root, id){
      if (ns == root) {
        var d = root.ownerDocument || root;
        return d.getElementById(id);
      }
      ns = $wnd.GXT.__getNodes(ns, mode, '*');
      return $wnd.GXT.__byId(ns, null, id);
    }

    $wnd.GXT.__quickId = quickId;
    return {getStyle:function(el, name_0){
      return ($clinit_19() , fly_0(el, '_global')).getStyleAttribute(name_0);
    }
    , compile:function(path, type){
      type = type || 'select';
      var fn = ['var f = function(root){\n var mode; ++batch; var n = root || document;\n'];
      var q = path, mode, lq;
      var tk = Ext.DomQuery.matchers;
      var tklen = tk.length;
      var mm;
      var lmode = q.match(modeRe);
      if (lmode && lmode[1]) {
        fn[fn.length] = 'mode="' + lmode[1].replace(trimRe, '') + '";';
        q = q.replace(lmode[1], '');
      }
      while (path.substr(0, 1) == '/') {
        path = path.substr(1);
      }
      while (q && lq != q) {
        lq = q;
        var tm = q.match(tagTokenRe);
        if (type == 'select') {
          if (tm) {
            tm[1] == '#'?(fn[fn.length] = 'n = $wnd.GXT.__quickId(n, mode, root, "' + tm[2] + '");'):(fn[fn.length] = 'n = $wnd.GXT.__getNodes(n, mode, "' + tm[2] + '");');
            q = q.replace(tm[0], '');
          }
           else 
            q.substr(0, 1) != '@' && (fn[fn.length] = 'n = $wnd.GXT.__getNodes(n, mode, "*");');
        }
         else {
          if (tm) {
            tm[1] == '#'?(fn[fn.length] = 'n = $wnd.GXT.__byId(n, null, "' + tm[2] + '");'):(fn[fn.length] = 'n = $wnd.GXT.__byTag(n, "' + tm[2] + '");');
            q = q.replace(tm[0], '');
          }
        }
        while (!(mm = q.match(modeRe))) {
          var matched = false;
          for (var j = 0; j < tklen; j++) {
            var t = tk[j];
            var m = q.match(t.re);
            if (m) {
              fn[fn.length] = t.select.replace(tplRe, function(x, i){
                return m[i];
              }
              );
              q = q.replace(m[0], '');
              matched = true;
              break;
            }
          }
          if (!matched) {
            throw 'Error parsing selector, parsing failed at "' + q + '"';
          }
        }
        if (mm[1]) {
          fn[fn.length] = 'mode="' + mm[1].replace(trimRe, '') + '";';
          q = q.replace(mm[1], '');
        }
      }
      fn[fn.length] = 'return $wnd.GXT.___nodup(n);\n}';
      eval(fn.join(''));
      return f;
    }
    , select:function(path, root, type){
      (!root || root == document_0) && (root = document_0);
      typeof root == 'string' && (root = document_0.getElementById(root));
      var paths = path.split(',');
      var results = [];
      for (var i = 0, len = paths.length; i < len; i++) {
        var p = paths[i].replace(trimRe, '');
        if (!cache[p]) {
          cache[p] = Ext.DomQuery.compile(p);
          if (!cache[p]) {
            throw p + ' is not a valid selector';
          }
        }
        var result = cache[p](root);
        result && result != document_0 && (results = results.concat(result));
      }
      if (paths.length > 1) {
        return $wnd.GXT.___nodup(results);
      }
      return results;
    }
    , selectNode:function(path, root){
      return Ext.DomQuery.select(path, root)[0];
    }
    , selectValue:function(path, root, defaultValue){
      path = path.replace(trimRe, '');
      !valueCache[path] && (valueCache[path] = Ext.DomQuery.compile(path, 'select'));
      var n = valueCache[path](root);
      n = n[0]?n[0]:n;
      var v = n && n.firstChild?n.firstChild.nodeValue:null;
      return v === null || v === undefined || v === ''?defaultValue:v;
    }
    , selectNumber:function(path, root, defaultValue){
      var v = Ext.DomQuery.selectValue(path, root, defaultValue || 0);
      return parseFloat(v);
    }
    , is:function(el, ss){
      typeof el == 'string' && (el = document_0.getElementById(el));
      var isArray = el instanceof Array;
      var result = Ext.DomQuery.filter(isArray?el:[el], ss);
      return isArray?result.length == el.length:result.length > 0;
    }
    , filter:function(els, ss, nonMatches){
      ss = ss.replace(trimRe, '');
      !simpleCache[ss] && (simpleCache[ss] = Ext.DomQuery.compile(ss, 'simple'));
      var result = simpleCache[ss](els);
      return nonMatches?quickDiff(result, els):result;
    }
    , matchers:[{re:/^\.([\w-]+)/, select:'n = $wnd.GXT.__byClassName(n, null, " {1} ");'}, {re:/^\:([\w-]+)(?:\(((?:[^\s>\/]*|.*?))\))?/, select:'n = $wnd.GXT.__byPseudo(n, "{1}", "{2}");'}, {re:/^(?:([\[\{])(?:@)?([\w-]+)\s?(?:(=|.=)\s?['"]?(.*?)["']?)?[\]\}])/, select:'n = $wnd.GXT.__byAttribute(n, "{2}", "{4}", "{3}", "{1}");'}, {re:/^#([\w-]+)/, select:'n = $wnd.GXT.__byId(n, null, "{1}");'}, {re:/^@([\w-]+)/, select:'return {firstChild:{nodeValue:$wnd.GXT.__attrValue(n, "{1}")}};'}], operators:{'=':function(a, v){
      return a == v;
    }
    , '!=':function(a, v){
      return a != v;
    }
    , '^=':function(a, v){
      return a && a.substr(0, v.length) == v;
    }
    , '$=':function(a, v){
      return a && a.substr(a.length - v.length) == v;
    }
    , '*=':function(a, v){
      return a && a.indexOf(v) !== -1;
    }
    , '%=':function(a, v){
      return a % v == 0;
    }
    , '|=':function(a, v){
      return a && (a == v || a.substr(0, v.length + 1) == v + '-');
    }
    , '~=':function(a, v){
      return a && (' ' + a + ' ').indexOf(' ' + v + ' ') != -1;
    }
    }, pseudos:{'first-child':function(c){
      var r = [], ri = -1, n;
      for (var i = 0, ci; ci = n = c[i]; i++) {
        while ((n = n.previousSibling) && n.nodeType != 1)
        ;
        !n && (r[++ri] = ci);
      }
      return r;
    }
    , 'last-child':function(c){
      var r = [], ri = -1, n;
      for (var i = 0, ci; ci = n = c[i]; i++) {
        while ((n = n.nextSibling) && n.nodeType != 1)
        ;
        !n && (r[++ri] = ci);
      }
      return r;
    }
    , 'nth-child':function(c, a){
      var r = [], ri = -1;
      var m = nthRe.exec(a == 'even' && '2n' || a == 'odd' && '2n+1' || !nthRe2.test(a) && 'n+' + a || a);
      var f_0 = (m[1] || 1) - 0, l = m[2] - 0;
      for (var i = 0, n; n = c[i]; i++) {
        var pn = n.parentNode;
        if (batch != pn._batch) {
          var j = 0;
          for (var cn = pn.firstChild; cn; cn = cn.nextSibling) {
            cn.nodeType == 1 && (cn.nodeIndex = ++j);
          }
          pn._batch = batch;
        }
        f_0 == 1?(l == 0 || n.nodeIndex == l) && (r[++ri] = n):(n.nodeIndex + l) % f_0 == 0 && (r[++ri] = n);
      }
      return r;
    }
    , 'only-child':function(c){
      var r = [], ri = -1;
      ;
      for (var i = 0, ci; ci = c[i]; i++) {
        !prev(ci) && !next(ci) && (r[++ri] = ci);
      }
      return r;
    }
    , empty:function(c){
      var r = [], ri = -1;
      for (var i = 0, ci; ci = c[i]; i++) {
        var cns = ci.childNodes, j = 0, cn, empty = true;
        while (cn = cns[j]) {
          ++j;
          if (cn.nodeType == 1 || cn.nodeType == 3) {
            empty = false;
            break;
          }
        }
        empty && (r[++ri] = ci);
      }
      return r;
    }
    , contains:function(c, v){
      var r = [], ri = -1;
      for (var i = 0, ci; ci = c[i]; i++) {
        (ci.textContent || ci.innerText || '').indexOf(v) != -1 && (r[++ri] = ci);
      }
      return r;
    }
    , nodeValue:function(c, v){
      var r = [], ri = -1;
      for (var i = 0, ci; ci = c[i]; i++) {
        ci.firstChild && ci.firstChild.nodeValue == v && (r[++ri] = ci);
      }
      return r;
    }
    , checked:function(c){
      var r = [], ri = -1;
      for (var i = 0, ci; ci = c[i]; i++) {
        ci.checked == true && (r[++ri] = ci);
      }
      return r;
    }
    , not:function(c, ss){
      return Ext.DomQuery.filter(c, ss, true);
    }
    , any:function(c, selectors){
      var ss = selectors.split('|');
      var r = [], ri = -1, s;
      for (var i = 0, ci; ci = c[i]; i++) {
        for (var j = 0; s = ss[j]; j++) {
          if (Ext.DomQuery.is(ci, s)) {
            r[++ri] = ci;
            break;
          }
        }
      }
      return r;
    }
    , odd:function(c){
      return this['nth-child'](c, 'odd');
    }
    , even:function(c){
      return this['nth-child'](c, 'even');
    }
    , nth:function(c, a){
      return c[a - 1] || [];
    }
    , first:function(c){
      return c[0] || [];
    }
    , last:function(c){
      return c[c.length - 1] || [];
    }
    , has:function(c, ss){
      var s = Ext.DomQuery.select;
      var r = [], ri = -1;
      for (var i = 0, ci; ci = c[i]; i++) {
        s(ss, ci).length > 0 && (r[++ri] = ci);
      }
      return r;
    }
    , next:function(c, ss){
      var is = Ext.DomQuery.is;
      var r = [], ri = -1;
      for (var i = 0, ci; ci = c[i]; i++) {
        var n = next(ci);
        n && is(n, ss) && (r[++ri] = ci);
      }
      return r;
    }
    , prev:function(c, ss){
      var is = Ext.DomQuery.is;
      var r = [], ri = -1;
      for (var i = 0, ci; ci = c[i]; i++) {
        var n = prev(ci);
        n && is(n, ss) && (r[++ri] = ci);
      }
      return r;
    }
    }};
  }
  ();
}

--></script>
<script><!--
function loadExt(){
  var document_0 = $doc;
  var window_0 = $wnd;
  if ($wnd.GXT) {
    return;
  }
  $wnd.GXT = {};
  $wnd.GXT.Ext = {};
  var Ext = $wnd.GXT.Ext;
  window_0['undefined'] = window_0['undefined'];
  Ext.apply = function(o, c, defaults){
    defaults && Ext.apply(o, defaults);
    if (o && c && typeof c == 'object') {
      for (var p in c) {
        o[p] = c[p];
      }
    }
    return o;
  }
  ;
  var initload = function(){
    var idSeed = 0;
    Ext.apply(Ext, {emptyFn:function(){
    }
    , applyIf:function(o, c){
      if (o && c) {
        for (var p in c) {
          typeof o[p] == 'undefined' && (o[p] = c[p]);
        }
      }
      return o;
    }
    , isArray:function(v){
      return v && typeof v.pop == 'function';
    }
    , extend:function(){
      var io = function(o){
        for (var m in o) {
          this[m] = o[m];
        }
      }
      ;
      return function(sb, sp, overrides){
        if (typeof sp == 'object') {
          overrides = sp;
          sp = sb;
          sb = function(){
            sp.apply(this, arguments);
          }
          ;
        }
        var F = function(){
        }
        , sbp, spp = sp.prototype;
        F.prototype = spp;
        sbp = sb.prototype = new F;
        sbp.constructor = sb;
        sb.superclass = spp;
        spp.constructor == Object.prototype.constructor && (spp.constructor = sp);
        sb.override = function(o){
          Ext.override(sb, o);
        }
        ;
        sbp.override = io;
        Ext.override(sb, overrides);
        return sb;
      }
      ;
    }
    (), override:function(origclass, overrides){
      if (overrides) {
        var p = origclass.prototype;
        for (var method in overrides) {
          p[method] = overrides[method];
        }
      }
    }
    , getDom:function(el){
      if (!el || !document_0) {
        return null;
      }
      return el.dom?el.dom:typeof el == 'string'?document_0.getElementById(el):el;
    }
    });
  }
  ;
  initload();
  $wnd.GXT.Ext = Ext;
}

function loadFormat(){
  var Ext = $wnd.GXT.Ext;
  if (Ext.util) {
    return;
  }
  Ext.util = {};
  Ext.util.Format = function(){
    var trimRe = /^\s+|\s+$/g;
    return {ellipsis:function(value, len){
      if (value && value.length > len) {
        return value.substr(0, len - 3) + '...';
      }
      return value;
    }
    , undef:function(value){
      return value !== undefined?value:'';
    }
    , defaultValue:function(value, defaultValue){
      return value !== undefined && value !== ''?value:defaultValue;
    }
    , htmlEncode:function(value){
      return !value?value:String(value).replace(/&/g, '&amp;').replace(/>/g, '&gt;').replace(/</g, '&lt;').replace(/"/g, '&quot;');
    }
    , htmlDecode:function(value){
      return !value?value:String(value).replace(/&amp;/g, '&').replace(/&gt;/g, '>').replace(/&lt;/g, '<').replace(/&quot;/g, '"');
    }
    , trim:function(value){
      return String(value).replace(trimRe, '');
    }
    , substr:function(value, start, length_0){
      return String(value).substr(start, length_0);
    }
    , lowercase:function(value){
      return String(value).toLowerCase();
    }
    , uppercase:function(value){
      return String(value).toUpperCase();
    }
    , capitalize:function(value){
      return !value?value:value.charAt(0).toUpperCase() + value.substr(1).toLowerCase();
    }
    , call:function(value, fn){
      if (arguments.length > 2) {
        var args = Array.prototype.slice.call(arguments, 2);
        args.unshift(value);
        return eval(fn).apply(window, args);
      }
       else {
        return eval(fn).call(window, value);
      }
    }
    , usMoney:function(v){
      v = Math.round((v - 0) * 100) / 100;
      v = v == Math.floor(v)?v + '.00':v * 10 == Math.floor(v * 10)?v + '0':v;
      v = String(v);
      var ps = v.split('.');
      var whole = ps[0];
      var sub = ps[1]?'.' + ps[1]:'.00';
      var r = /(\d+)(\d{3})/;
      while (r.test(whole)) {
        whole = whole.replace(r, '$1,$2');
      }
      v = whole + sub;
      if (v.charAt(0) == '-') {
        return '-$' + v.substr(1);
      }
      return '$' + v;
    }
    , date:function(v, format){
      if (!v) {
        return '';
      }
      !(v instanceof Date) && (v = new Date(Date.parse(v)));
      return format_0(v.getTime(), format || 'm/d/Y');
    }
    , stripTagsRE:/<\/?[^>]+>/gi, stripTags:function(v){
      return !v?v:String(v).replace(this.stripTagsRE, '');
    }
    , stripScriptsRe:/(?:<script.*?>)((\n|\r|.)*?)(?:<\/script>)/ig, stripScripts:function(v){
      return !v?v:String(v).replace(this.stripScriptsRe, '');
    }
    , fileSize:function(size){
      if (size < 1024) {
        return size + ' bytes';
      }
       else if (size < 1048576) {
        return Math.round(size * 10 / 1024) / 10 + ' KB';
      }
       else {
        return Math.round(size * 10 / 1048576) / 10 + ' MB';
      }
    }
    , math:function(){
      var fns = {};
      return function(v, a){
        !fns[a] && (fns[a] = new Function('v', 'return v ' + a + ';'));
        return fns[a](v);
      }
      ;
    }
    ()};
  }
  ();
}

function loadTemplate(){
  var Ext = $wnd.GXT.Ext;
  if (Ext.Template) {
    return;
  }
  Ext.Template = function(html){
    var a = arguments;
    if (Ext.isArray(html)) {
      html = html.join('');
    }
     else if (a.length > 1) {
      var buf = [];
      for (var i = 0, len = a.length; i < len; i++) {
        typeof a[i] == 'object'?Ext.apply(this, a[i]):(buf[buf.length] = a[i]);
      }
      html = buf.join('');
    }
    this.html = html;
    this.compiled && this.compile();
  }
  ;
  Ext.Template.prototype = {applyTemplate:function(values){
    if (this.compiled) {
      return this.compiled(values);
    }
    var useF = this.disableFormats !== true;
    var fm = Ext.util.Format, tpl = this;
    var fn = function(m, name_0, format, args){
      if (format && useF) {
        if (format.substr(0, 5) == 'this.') {
          return tpl.call(format.substr(5), values[name_0], values);
        }
         else {
          if (args) {
            var re = /^\s*['"](.*)["']\s*$/;
            args = args.split(',');
            for (var i = 0, len = args.length; i < len; i++) {
              args[i] = args[i].replace(re, '$1');
            }
            args = [values[name_0]].concat(args);
          }
           else {
            args = [values[name_0]];
          }
          return fm[format].apply(fm, args);
        }
      }
       else {
        return values[name_0] !== undefined?values[name_0]:'';
      }
    }
    ;
    return this.html.replace(this.re, fn);
  }
  , set:function(html, compile){
    this.html = html;
    this.compiled = null;
    compile && this.compile();
    return this;
  }
  , disableFormats:false, re:/\{([\w-]+)(?:\:([\w\.]*)(?:\((.*?)?\))?)?\}/g, compile:function(){
    var fm = Ext.util.Format;
    var useF = this.disableFormats !== true;
    var sep = ($clinit_0() , isGecko)?'+':',';
    var fn = function(m, name_0, format, args){
      if (format && useF) {
        args = args?',' + args:'';
        if (format.substr(0, 5) != 'this.') {
          format = 'fm.' + format + '(';
        }
         else {
          format = 'this.call("' + format.substr(5) + '", ';
          args = ', values';
        }
      }
       else {
        args = '';
        format = "(values['" + name_0 + "'] == undefined ? '' : ";
      }
      return "'" + sep + format + "values['" + name_0 + "']" + args + ')' + sep + "'";
    }
    ;
    var body;
    if (isGecko) {
      body = "this.compiled = function(values){ return '" + this.html.replace(/\\/g, '\\\\').replace(/(\r\n|\n)/g, '\\n').replace(/'/g, "\\'").replace(this.re, fn) + "';};";
    }
     else {
      body = ["this.compiled = function(values){ return ['"];
      body.push(this.html.replace(/\\/g, '\\\\').replace(/(\r\n|\n)/g, '\\n').replace(/'/g, "\\'").replace(this.re, fn));
      body.push("'].join('');};");
      body = body.join('');
    }
    eval(body);
    return this;
  }
  , call:function(fnName, value, allValues){
    return this[fnName](value, allValues);
  }
  , insertFirst:function(el, values, returnElement){
    return this.doInsert('afterBegin', el, values, returnElement);
  }
  , insertBefore:function(el, values, returnElement){
    return this.doInsert('beforeBegin', el, values, returnElement);
  }
  , insertAfter:function(el, values, returnElement){
    return this.doInsert('afterEnd', el, values, returnElement);
  }
  , append:function(el, values, returnElement){
    return this.doInsert('beforeEnd', el, values, returnElement);
  }
  , doInsert:function(where, el, values, returnEl){
    el = Ext.getDom(el);
    var newNode = Ext.DomHelper.insertHtml(where, el, this.applyTemplate(values));
    return returnEl?Ext.get(newNode, true):newNode;
  }
  , overwrite:function(el, values, returnElement){
    el = Ext.getDom(el);
    el.innerHTML = this.applyTemplate(values);
    return returnElement?Ext.get(el.firstChild, true):el.firstChild;
  }
  };
  Ext.DomHelper.Template = Ext.Template;
}

function $equals_1(this$static, obj){
  var entry, entry$iterator, otherKey, otherMap, otherValue;
  if ((obj == null?null:obj) === (this$static == null?null:this$static)) {
    return true;
  }
  if (!(obj != null && canCast(obj.typeId$, 43))) {
    return false;
  }
  otherMap = dynamicCast(obj, 43);
  if (this$static.size_0() != otherMap.size_0()) {
    return false;
  }
  for (entry$iterator = otherMap.entrySet_0().iterator_0(); entry$iterator.hasNext();) {
    entry = dynamicCast(entry$iterator.next_0(), 40);
    otherKey = entry.getKey();
    otherValue = entry.getValue();
    if (!this$static.containsKey(otherKey)) {
      return false;
    }
    if (!equalsWithNullCheck(otherValue, this$static.get_0(otherKey))) {
      return false;
    }
  }
  return true;
}

function $hashCode_0(this$static){
  var entry, entry$iterator, hashCode;
  hashCode = 0;
  for (entry$iterator = this$static.entrySet_0().iterator_0(); entry$iterator.hasNext();) {
    entry = dynamicCast(entry$iterator.next_0(), 40);
    hashCode += entry.hashCode$();
    hashCode = ~~hashCode;
  }
  return hashCode;
}

function $implFindEntry(this$static, key, remove){
  var entry, iter, k;
  for (iter = this$static.entrySet_0().iterator_0(); iter.hasNext();) {
    entry = dynamicCast(iter.next_0(), 40);
    k = entry.getKey();
    if (key == null?k == null:key.typeMarker$ == nullMethod || key.typeId$ == 2?key.equals$(k):(key == null?null:key) === (k == null?null:k)) {
      remove && iter.remove_2();
      return entry;
    }
  }
  return null;
}

function $keySet(this$static){
  var entrySet;
  entrySet = this$static.entrySet_0();
  return $AbstractMap$1(new AbstractMap$1, this$static, entrySet);
}

function $toString_0(this$static){
  var comma, entry, iter, s;
  s = '{';
  comma = false;
  for (iter = this$static.entrySet_0().iterator_0(); iter.hasNext();) {
    entry = dynamicCast(iter.next_0(), 40);
    comma?(s += ', '):(comma = true);
    s += '' + entry.getKey();
    s += '=';
    s += '' + entry.getValue();
  }
  return s + '}';
}

function containsKey(key){
  return !!$implFindEntry(this, key, false);
}

function equals_2(obj){
  return $equals_1(this, obj);
}

function get_0(key){
  var entry;
  entry = $implFindEntry(this, key, false);
  return !entry?null:entry.getValue();
}

function getClass_18(){
  return Ljava_util_AbstractMap_2_classLit;
}

function hashCode_2(){
  return $hashCode_0(this);
}

function keySet(){
  var entrySet;
  return entrySet = this.entrySet_0() , $AbstractMap$1(new AbstractMap$1, this, entrySet);
}

function put(key, value){
  throw $UnsupportedOperationException_0(new UnsupportedOperationException, 'Put not supported on this map');
}

function remove_1(key){
  var entry;
  entry = $implFindEntry(this, key, true);
  return !entry?null:entry.getValue();
}

function size_3(){
  return this.entrySet_0().size_0();
}

function toString_3(){
  return $toString_0(this);
}

function AbstractMap(){
}

_ = AbstractMap.prototype = new Object_0;
_.containsKey = containsKey;
_.equals$ = equals_2;
_.get_0 = get_0;
_.getClass$ = getClass_18;
_.hashCode$ = hashCode_2;
_.keySet_0 = keySet;
_.put = put;
_.remove_0 = remove_1;
_.size_0 = size_3;
_.toString$ = toString_3;
_.typeId$ = 17;
function $FastMap(this$static){
  this$static.map = {};
  return this$static;
}

function $put_0(this$static, p0, p1){
  return $put_1(this$static.map, dynamicCast(p0, 1), p1);
}

function $putAll(this$static, m){
  var s, s$iterator;
  for (s$iterator = $keySet_1($FastMap$2(new FastMap$2, m).this$0.map).iterator_0(); s$iterator.hasNext();) {
    s = dynamicCast(s$iterator.next_0(), 1);
    $put_1(this$static.map, s, m.map['' + s]);
  }
}

function containsKey_0(key){
  return this.map.hasOwnProperty('' + key);
}

function entrySet_0(){
  return $FastMap$1(new FastMap$1, this);
}

function get_1(key){
  return this.map['' + key];
}

function getClass_19(){
  return Lcom_extjs_gxt_ui_client_core_FastMap_2_classLit;
}

function keySet_0(){
  return $FastMap$2(new FastMap$2, this);
}

function put_0(key, value){
  return $put_1(this.map, key, value);
}

function put_1(p0, p1){
  return $put_1(this.map, dynamicCast(p0, 1), p1);
}

function remove_2(key){
  return $remove_3(this.map, key);
}

function size_4(){
  return $size_0(this.map);
}

function FastMap(){
}

_ = FastMap.prototype = new AbstractMap;
_.containsKey = containsKey_0;
_.entrySet_0 = entrySet_0;
_.get_0 = get_1;
_.getClass$ = getClass_19;
_.keySet_0 = keySet_0;
_.put_0 = put_0;
_.put = put_1;
_.remove_0 = remove_2;
_.size_0 = size_4;
_.typeId$ = 18;
_.map = null;
function $advanceToFind(iter, o){
  var t;
  while (iter.hasNext()) {
    t = iter.next_0();
    if (o == null?t == null:o.typeMarker$ == nullMethod || o.typeId$ == 2?o.equals$(t):(o == null?null:o) === (t == null?null:t)) {
      return iter;
    }
  }
  return null;
}

function $remove_2(this$static, o){
  var iter;
  iter = $advanceToFind(this$static.iterator_0(), o);
  if (iter) {
    iter.remove_2();
    return true;
  }
   else {
    return false;
  }
}

function $toArray(this$static, a){
  var i, it, result, size;
  size = this$static.size_0();
  a.length < size && (a = createFrom(a, size));
  result = a;
  it = this$static.iterator_0();
  for (i = 0; i < size; ++i) {
    setCheck(result, i, it.next_0());
  }
  a.length > size && setCheck(a, size, null);
  return a;
}

function $toString_1(this$static){
  var comma, iter, sb;
  sb = $StringBuffer(new StringBuffer);
  comma = null;
  sb.impl.string += '[';
  iter = this$static.iterator_0();
  while (iter.hasNext()) {
    comma != null?(sb.impl.string += comma , undefined):(comma = ', ');
    $append_5(sb, '' + iter.next_0());
  }
  sb.impl.string += ']';
  return sb.impl.string;
}

function add_0(o){
  throw $UnsupportedOperationException_0(new UnsupportedOperationException, 'Add not supported on this collection');
}

function contains(o){
  var iter;
  iter = $advanceToFind(this.iterator_0(), o);
  return !!iter;
}

function getClass_20(){
  return Ljava_util_AbstractCollection_2_classLit;
}

function isEmpty(){
  return this.size_0() == 0;
}

function remove_3(o){
  return $remove_2(this, o);
}

function toArray(){
  return this.toArray_0(initDim(_3Ljava_lang_Object_2_classLit, 337, 0, this.size_0(), 0));
}

function toArray_0(a){
  return $toArray(this, a);
}

function toString_4(){
  return $toString_1(this);
}

function AbstractCollection(){
}

_ = AbstractCollection.prototype = new Object_0;
_.add = add_0;
_.contains = contains;
_.getClass$ = getClass_20;
_.isEmpty = isEmpty;
_.remove_1 = remove_3;
_.toArray = toArray;
_.toArray_0 = toArray_0;
_.toString$ = toString_4;
_.typeId$ = 0;
function equals_3(o){
  var iter, other, otherItem;
  if ((o == null?null:o) === this) {
    return true;
  }
  if (!(o != null && canCast(o.typeId$, 125))) {
    return false;
  }
  other = dynamicCast(o, 125);
  if (other.size_0() != this.size_0()) {
    return false;
  }
  for (iter = other.iterator_0(); iter.hasNext();) {
    otherItem = iter.next_0();
    if (!this.contains(otherItem)) {
      return false;
    }
  }
  return true;
}

function getClass_21(){
  return Ljava_util_AbstractSet_2_classLit;
}

function hashCode_3(){
  var hashCode, iter, next;
  hashCode = 0;
  for (iter = this.iterator_0(); iter.hasNext();) {
    next = iter.next_0();
    if (next != null) {
      hashCode += next.typeMarker$ == nullMethod || next.typeId$ == 2?next.hashCode$():next.$H || (next.$H = ++sNextHashId);
      hashCode = ~~hashCode;
    }
  }
  return hashCode;
}

function AbstractSet(){
}

_ = AbstractSet.prototype = new AbstractCollection;
_.equals$ = equals_3;
_.getClass$ = getClass_21;
_.hashCode$ = hashCode_3;
_.typeId$ = 19;
function $FastMap$1(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function contains_0(key){
  var s, value;
  s = dynamicCast(key, 40);
  value = this.this$0.map['' + s.getKey()];
  if (value == null) {
    return (value == null?null:value) === maskUndefined(s.getValue());
  }
   else {
    return equals__devirtual$(value, s.getValue());
  }
}

function getClass_22(){
  return Lcom_extjs_gxt_ui_client_core_FastMap$1_2_classLit;
}

function iterator(){
  var custom;
  custom = $FastMap$1$1(new FastMap$1$1, this);
  return custom;
}

function size_5(){
  return $size_0(this.this$0.map);
}

function FastMap$1(){
}

_ = FastMap$1.prototype = new AbstractSet;
_.contains = contains_0;
_.getClass$ = getClass_22;
_.iterator_0 = iterator;
_.size_0 = size_5;
_.typeId$ = 20;
_.this$0 = null;
function $FastMap$1$1(this$static, this$1){
  this$static.this$1 = this$1;
  this$static.keys = $keySet_1($FastMap$2(new FastMap$2, this$static.this$1.this$0).this$0.map).iterator_0();
  return this$static;
}

function getClass_23(){
  return Lcom_extjs_gxt_ui_client_core_FastMap$1$1_2_classLit;
}

function hasNext(){
  return this.keys.hasNext();
}

function next_0(){
  var key;
  return key = dynamicCast(this.keys.next_0(), 1) , $FastMap$FastMapEntry(new FastMap$FastMapEntry, key, this.this$1.this$0.map['' + key]);
}

function remove_4(){
  this.keys.remove_2();
}

function FastMap$1$1(){
}

_ = FastMap$1$1.prototype = new Object_0;
_.getClass$ = getClass_23;
_.hasNext = hasNext;
_.next_0 = next_0;
_.remove_2 = remove_4;
_.typeId$ = 0;
_.this$1 = null;
function $FastMap$2(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function contains_1(key){
  return this.this$0.map.hasOwnProperty('' + key);
}

function getClass_24(){
  return Lcom_extjs_gxt_ui_client_core_FastMap$2_2_classLit;
}

function iterator_0(){
  return $keySet_1(this.this$0.map).iterator_0();
}

function size_6(){
  return $size_0(this.this$0.map);
}

function FastMap$2(){
}

_ = FastMap$2.prototype = new AbstractSet;
_.contains = contains_1;
_.getClass$ = getClass_24;
_.iterator_0 = iterator_0;
_.size_0 = size_6;
_.typeId$ = 21;
_.this$0 = null;
function $FastMap$FastMapEntry(this$static, key, value){
  this$static.key = key;
  this$static.value = value;
  return this$static;
}

function equals_4(a){
  var s;
  if (a != null && canCast(a.typeId$, 40)) {
    s = dynamicCast(a, 40);
    if (equalWithNull(this.key, s.getKey()) && equalWithNull(this.value, s.getValue())) {
      return true;
    }
  }
  return false;
}

function getClass_25(){
  return Lcom_extjs_gxt_ui_client_core_FastMap$FastMapEntry_2_classLit;
}

function getKey(){
  return this.key;
}

function getValue(){
  return this.value;
}

function hashCode_4(){
  var keyHash, valueHash;
  keyHash = 0;
  valueHash = 0;
  this.key != null && (keyHash = getHashCode_0(this.key));
  this.value != null && (valueHash = hashCode__devirtual$(this.value));
  return keyHash ^ valueHash;
}

function setValue(object){
  var old;
  old = this.value;
  this.value = object;
  return old;
}

function FastMap$FastMapEntry(){
}

_ = FastMap$FastMapEntry.prototype = new Object_0;
_.equals$ = equals_4;
_.getClass$ = getClass_25;
_.getKey = getKey;
_.getValue = getValue;
_.hashCode$ = hashCode_4;
_.setValue = setValue;
_.typeId$ = 22;
_.key = null;
_.value = null;
function equals__devirtual$(this$static, other){
  return this$static.typeMarker$ == nullMethod || this$static.typeId$ == 2?this$static.equals$(other):(this$static == null?null:this$static) === (other == null?null:other);
}

function hashCode__devirtual$(this$static){
  return this$static.typeMarker$ == nullMethod || this$static.typeId$ == 2?this$static.hashCode$():this$static.$H || (this$static.$H = ++sNextHashId);
}

function toString__devirtual$(this$static){
  return this$static.typeMarker$ == nullMethod || this$static.typeId$ == 2?this$static.toString$():this$static.toString?this$static.toString():'[JavaScriptObject]';
}

function $keySet_1(this$static){
  var s = $ArrayList(new ArrayList);
  for (var key in this$static) {
    if (!this$static.hasOwnProperty(key))
      continue;
    s.add(key);
  }
  return s;
}

function $put_1(this$static, key, value){
  var previous = this$static[key];
  this$static[key] = value;
  return previous;
}

function $remove_3(this$static, key){
  var previous = this$static[key];
  delete this$static[key];
  return previous;
}

function $size_0(this$static){
  var count = 0;
  for (var key in this$static) {
    this$static.hasOwnProperty(key) && ++count;
  }
  return count;
}

function $FastSet(this$static){
  this$static.map = $FastMap(new FastMap);
  return this$static;
}

function $add_0(this$static, s){
  return $put_1(this$static.map.map, dynamicCast(s, 1), '') == null;
}

function add_1(p0){
  return $add_0(this, dynamicCast(p0, 1));
}

function contains_2(o){
  return this.map.map.hasOwnProperty('' + o);
}

function getClass_27(){
  return Lcom_extjs_gxt_ui_client_core_FastSet_2_classLit;
}

function isEmpty_0(){
  return $size_0(this.map.map) == 0;
}

function iterator_1(){
  return $keySet_1($FastMap$2(new FastMap$2, this.map).this$0.map).iterator_0();
}

function remove_5(o){
  var s_0;
  return s_0 = dynamicCast($remove_3(this.map.map, dynamicCast(o, 1)), 1) , s_0 != null && $equals_4(s_0, '');
}

function size_7(){
  return $size_0(this.map.map);
}

function FastSet(){
}

_ = FastSet.prototype = new AbstractSet;
_.add = add_1;
_.contains = contains_2;
_.getClass$ = getClass_27;
_.isEmpty = isEmpty_0;
_.iterator_0 = iterator_1;
_.remove_1 = remove_5;
_.size_0 = size_7;
_.typeId$ = 23;
_.map = null;
function $clinit_33(){
  $clinit_33 = nullMethod;
  init();
  loadExt();
  loadFormat();
  loadDomHelper();
  loadTemplate();
}

function $Template(this$static, html){
  $clinit_33();
  this$static.t = new $wnd.GXT.Ext.Template(html);
  return this$static;
}

function $insert_0(this$static, el, index, values){
  var before, count;
  count = $getChildCount(el);
  before = el.childNodes[index];
  if (count == 0 || !before) {
    return this$static.t.append(el, $getValues(values));
  }
   else {
    return this$static.t['insertBefore'](before, $getValues(values));
  }
}

function getClass_28(){
  return Lcom_extjs_gxt_ui_client_core_Template_2_classLit;
}

function Template(){
}

_ = Template.prototype = new Object_0;
_.getClass$ = getClass_28;
_.typeId$ = 0;
_.t = null;
function $clinit_34(){
  $clinit_34 = nullMethod;
  init();
}

function create_0(html){
  $clinit_34();
  var div, firstChild;
  div = ($clinit_308() , $doc).createElement('div');
  div.innerHTML = html || '';
  firstChild = $getFirstChildElement(div);
  return firstChild?firstChild:div;
}

function getBodyEl(){
  $clinit_34();
  !bodyEl_0 && (bodyEl_0 = $El(new El, $doc.body || $doc.documentElement));
  return bodyEl_0;
}

function getBodyScrollLeft(){
  $clinit_34();
  if (($clinit_0() , isIE_0) && isStrict) {
    return $doc.documentElement.scrollLeft || $doc.body.scrollLeft || 0;
  }
   else {
    return $wnd.pageXOffset || $doc.body.scrollLeft || 0;
  }
}

function getBodyScrollTop(){
  $clinit_34();
  if (($clinit_0() , isIE_0) && isStrict) {
    return $doc.documentElement.scrollTop || $doc.body.scrollTop || 0;
  }
   else {
    return $wnd.pageYOffset || $doc.body.scrollTop || 0;
  }
}

function getViewportHeight(){
  $clinit_34();
  if ($clinit_0() , isIE_0) {
    return isStrict?$doc.documentElement.clientHeight:$doc.body.clientHeight;
  }
   else {
    return $wnd.self.innerHeight;
  }
}

function getViewportWidth(){
  $clinit_34();
  if ($clinit_0() , isIE_0) {
    return isStrict?$doc.documentElement.clientWidth:$doc.body.clientWidth;
  }
   else {
    return $wnd.self.innerWidth;
  }
}

var autoId = 0, bodyEl_0 = null, zIndexId = 1000;
function $ComputedStyleImpl(this$static){
  this$static.camelCache = $FastMap(new FastMap);
  this$static.hyphenCache = $FastMap(new FastMap);
  return this$static;
}

function $checkCamelCache(this$static, l){
  var i, list, s, t, previous;
  list = $ArrayList_0(new ArrayList, l);
  for (i = 0; i < list.size; ++i) {
    s = dynamicCast((checkIndex(i, list.size) , list.array[i]), 1);
    t = dynamicCast(this$static.camelCache.map['' + s], 1);
    if (t == null) {
      t = camelize($getPropertyName(s));
      $put_0(this$static.camelCache, s, t);
    }
    previous = (checkIndex(i, list.size) , list.array[i]);
    setCheck(list.array, i, t);
  }
  return list;
}

function $checkHyphenCache(this$static, l){
  var i, list, s, t, previous;
  list = $ArrayList_0(new ArrayList, l);
  for (i = 0; i < list.size; ++i) {
    s = dynamicCast((checkIndex(i, list.size) , list.array[i]), 1);
    t = dynamicCast(this$static.hyphenCache.map['' + s], 1);
    if (t == null) {
      t = $getPropertyName(s).replace(/([A-Z])/g, '-$1').toLowerCase();
      $put_0(this$static.hyphenCache, s, t);
    }
    previous = (checkIndex(i, list.size) , list.array[i]);
    setCheck(list.array, i, t);
  }
  return list;
}

function $getComputedStyle(elem, orginals, names, names2, pseudo){
  var cStyle;
  var map = $FastMap(new FastMap);
  var size = orginals.size_0();
  for (var i = 0; i < size; i++) {
    var orginal = orginals.get_1(i);
    var name2 = names2.get_1(i);
    var v = elem.style[name2];
    if (v) {
      map.put_0(orginal, String(v));
      continue;
    }
    var name_0 = names.get_1(i);
    !cStyle && (cStyle = $doc.defaultView.getComputedStyle(elem, pseudo));
    map.put_0(orginal, cStyle?String(cStyle.getPropertyValue(name_0)):null);
  }
  return map;
}

function $getPropertyName(name_0){
  if ($equals_4('float', name_0)) {
    return 'cssFloat';
  }
  return name_0;
}

function $getStyleAttribute_1(this$static, elem, names){
  return $getComputedStyle(elem, names, $checkHyphenCache(this$static, names), $checkCamelCache(this$static, names), null);
}

function $setStyleAttribute_0(this$static, elem, name_0, value){
  elem.style[dynamicCast($get_9($checkCamelCache(this$static, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, [name_0]))), 0), 1)] = '' + value;
}

function getClass_29(){
  return Lcom_extjs_gxt_ui_client_core_impl_ComputedStyleImpl_2_classLit;
}

function ComputedStyleImpl(){
}

_ = ComputedStyleImpl.prototype = new Object_0;
_.getClass$ = getClass_29;
_.typeId$ = 0;
function $get_1(this$static, property){
  var end, o, obj, p, start;
  if (property != null && property.indexOf('.') != -1) {
    return getNestedValue(this$static, $ArrayList_0(new ArrayList, $Arrays$ArrayList(new Arrays$ArrayList, $split(property, '\\.', 0))));
  }
  if (!this$static.map) {
    return null;
  }
  start = property.indexOf('[');
  end = property.indexOf(']');
  obj = null;
  if (start > -1 && end > -1) {
    o = this$static.map.map.map['' + property.substr(0, start - 0)];
    p = property.substr(start + 1, end - (start + 1));
    o != null && canCast(o.typeId$, 41)?(obj = dynamicCast(o, 41)[valueOf_0(__parseAndValidateInt(p, 10, -2147483648, 2147483647)).value]):o != null && canCast(o.typeId$, 42)?(obj = dynamicCast(o, 42).get_1(valueOf_0(__parseAndValidateInt(p, 10, -2147483648, 2147483647)).value)):o != null && canCast(o.typeId$, 43) && (obj = dynamicCast(o, 43).get_0(p));
  }
   else {
    obj = this$static.map.map.map['' + property];
  }
  return obj;
}

function $getProperties(this$static){
  var newMap;
  newMap = $FastMap(new FastMap);
  !!this$static.map && $putAll(newMap, this$static.map.map);
  return newMap;
}

function $set(this$static, property, value){
  var end, i, list, map, o, oa, old, p, start;
  if (property != null && property.indexOf('.') != -1) {
    return setNestedValue(this$static, $ArrayList_0(new ArrayList, $Arrays$ArrayList(new Arrays$ArrayList, $split(property, '\\.', 0))), value);
  }
  !this$static.map && (this$static.map = $RpcMap(new RpcMap));
  start = property.indexOf('[');
  end = property.indexOf(']');
  if (start > -1 && end > -1) {
    o = $get_1(this$static, property.substr(0, start - 0));
    p = property.substr(start + 1, end - (start + 1));
    if (o != null && canCast(o.typeId$, 41)) {
      i = valueOf_0(__parseAndValidateInt(p, 10, -2147483648, 2147483647)).value;
      oa = dynamicCast(o, 41);
      old = oa[i];
      setCheck(oa, i, value);
      return old;
    }
     else if (o != null && canCast(o.typeId$, 42)) {
      i = valueOf_0(__parseAndValidateInt(p, 10, -2147483648, 2147483647)).value;
      list = dynamicCast(o, 42);
      return list.set(i, value);
    }
     else if (o != null && canCast(o.typeId$, 43)) {
      map = dynamicCast(o, 43);
      return map.put(p, value);
    }
     else {
      return null;
    }
  }
   else {
    return $put_1(this$static.map.map.map, property, value);
  }
}

function getClass_30(){
  return Lcom_extjs_gxt_ui_client_data_BaseModelData_2_classLit;
}

function BaseModelData(){
}

_ = BaseModelData.prototype = new Object_0;
_.getClass$ = getClass_30;
_.typeId$ = 24;
_.map = null;
function getClass_31(){
  return Lcom_extjs_gxt_ui_client_data_BeanModelLookup_2_classLit;
}

function BeanModelLookup(){
}

_ = BeanModelLookup.prototype = new Object_0;
_.getClass$ = getClass_31;
--></script>
<script><!--
_.typeId$ = 0;
var instance_1 = null;
function $getFactory(this$static, b){
  var n;
  n = b.typeName;
  !this$static.m && (this$static.m = $FastMap(new FastMap));
  this$static.m.map['' + n] == null;
  return throwClassCastExceptionUnlessNull(this$static.m.map['' + n]);
}

function getClass_32(){
  return Lcom_extjs_gxt_ui_client_data_BeanModelLookupImpl_2_classLit;
}

function BeanModelLookupImpl(){
}

_ = BeanModelLookupImpl.prototype = new BeanModelLookup;
_.getClass$ = getClass_32;
_.typeId$ = 0;
_.m = null;
function convertIfNecessary(obj){
  var lookup;
  if (obj == null || obj != null && canCast(obj.typeId$, 44)) {
    return obj;
  }
  lookup = (!instance_1 && (instance_1 = new BeanModelLookupImpl) , instance_1);
  lookup?$getFactory(lookup, obj.typeMarker$ == nullMethod || obj.typeId$ == 2?obj.getClass$():Lcom_google_gwt_core_client_JavaScriptObject_2_classLit):null;
  return obj;
}

function getNestedValue(model, paths){
  var obj, tmp;
  obj = convertIfNecessary($get_1(model, dynamicCast((checkIndex(0, paths.size) , paths.array[0]), 1)));
  if (paths.size == 1) {
    return obj;
  }
   else {
    if (obj != null && obj != null && canCast(obj.typeId$, 44)) {
      tmp = $ArrayList_0(new ArrayList, paths);
      $remove_19(tmp, 0);
      return getNestedValue(dynamicCast(obj, 44), tmp);
    }
  }
  return null;
}

function setNestedValue(model, paths, value){
  var index, m, path;
  index = paths.size - 1;
  path = dynamicCast((checkIndex(index, paths.size) , paths.array[index]), 1);
  $remove_19(paths, index);
  m = dynamicCast(getNestedValue(model, paths), 44);
  return $set(m, path, value);
}

function $RpcMap(this$static){
  this$static.map = $FastMap(new FastMap);
  return this$static;
}

function equals_6(o){
  if (o != null && canCast(o.typeId$, 45)) {
    return $equals_1(this.map, dynamicCast(o, 45).map);
  }
  return false;
}

function getClass_33(){
  return Lcom_extjs_gxt_ui_client_data_RpcMap_2_classLit;
}

function hashCode_6(){
  return $hashCode_0(this.map);
}

function toString_6(){
  return $toString_0(this.map);
}

function RpcMap(){
}

_ = RpcMap.prototype = new Object_0;
_.equals$ = equals_6;
_.getClass$ = getClass_33;
_.hashCode$ = hashCode_6;
_.toString$ = toString_6;
_.typeId$ = 25;
function getClass_34(){
  return Lcom_extjs_gxt_ui_client_event_BaseEvent_2_classLit;
}

function BaseEvent(){
}

_ = BaseEvent.prototype = new Object_0;
_.getClass$ = getClass_34;
_.typeId$ = 0;
_.cancelled = false;
_.type_0 = null;
function $LayoutEvent(this$static, layout){
  this$static.layout = layout;
  return this$static;
}

function getClass_35(){
  return Lcom_extjs_gxt_ui_client_event_LayoutEvent_2_classLit;
}

function LayoutEvent(){
}

_ = LayoutEvent.prototype = new BaseEvent;
_.getClass$ = getClass_35;
_.typeId$ = 26;
_.layout = null;
function $BorderLayoutEvent(this$static, layout){
  this$static.layout = layout;
  return this$static;
}

function getClass_36(){
  return Lcom_extjs_gxt_ui_client_event_BorderLayoutEvent_2_classLit;
}

function BorderLayoutEvent(){
}

_ = BorderLayoutEvent.prototype = new LayoutEvent;
_.getClass$ = getClass_36;
_.typeId$ = 27;
function $getClientX(this$static){
  if (this$static.event_0) {
    return ($clinit_308() , this$static.event_0).clientX || 0;
  }
  return -1;
}

function $getClientY(this$static){
  if (this$static.event_0) {
    return ($clinit_308() , this$static.event_0).clientY || 0;
  }
  return -1;
}

function $getTargetEl(this$static){
  if (this$static.event_0) {
    !this$static.el && (this$static.el = $El(new El, !this$static.event_0?null:($clinit_308() , this$static.event_0).target));
    return this$static.el;
  }
  return null;
}

function $getXY_0(this$static){
  if (this$static.event_0) {
    return $Point(new Point, $getClientX(this$static), $getClientY(this$static));
  }
  return null;
}

function $isRightClick(this$static){
  if (this$static.event_0) {
    if ($eventGetButton(($clinit_308() , this$static.event_0)) == 2 || ($clinit_0() , isMac) && !!this$static.event_0.ctrlKey) {
      return true;
    }
  }
  return false;
}

function $isSpecialKey(k){
  return k >= 33 && k <= 40 || k == 27 || k == 13 || k == 9 || k == 8 || k == 17 || k == 16 || k == 18 || k >= 19 && k <= 20 || k >= 45 && k <= 46;
}

function $preventDefault(this$static){
  !!this$static.event_0 && (($clinit_308() , this$static.event_0).preventDefault() , undefined);
}

function $setEvent(this$static, event_0){
  this$static.event_0 = event_0;
}

function $within(this$static, element, toElement){
  var target;
  if (this$static.event_0) {
    toElement?(target = $eventGetRelatedTarget(($clinit_308() , this$static.event_0))):(target = ($clinit_308() , this$static.event_0).target);
    if (target) {
      return $isOrHasChild_0(($clinit_308() , element), target);
    }
  }
  return false;
}

function getClass_37(){
  return Lcom_extjs_gxt_ui_client_event_DomEvent_2_classLit;
}

function DomEvent(){
}

_ = DomEvent.prototype = new BaseEvent;
_.getClass$ = getClass_37;
_.typeId$ = 0;
_.el = null;
_.event_0 = null;
function $ComponentEvent(this$static, component){
  this$static.component = component;
  return this$static;
}

function $ComponentEvent_0(this$static, component, event_0){
  this$static.event_0 = event_0;
  this$static.component = component;
  return this$static;
}

function getClass_38(){
  return Lcom_extjs_gxt_ui_client_event_ComponentEvent_2_classLit;
}

function ComponentEvent(){
}

_ = ComponentEvent.prototype = new DomEvent;
_.getClass$ = getClass_38;
_.typeId$ = 28;
_.component = null;
function $BoxComponentEvent(this$static, component, event_0){
  this$static.event_0 = event_0;
  this$static.component = component;
  this$static.event_0 = event_0;
  return this$static;
}

function getClass_39(){
  return Lcom_extjs_gxt_ui_client_event_BoxComponentEvent_2_classLit;
}

function BoxComponentEvent(){
}

_ = BoxComponentEvent.prototype = new ComponentEvent;
_.getClass$ = getClass_39;
_.typeId$ = 29;
function $ButtonEvent(this$static, button){
  this$static.component = button;
  this$static.button_0 = button;
  return this$static;
}

function getClass_40(){
  return Lcom_extjs_gxt_ui_client_event_ButtonEvent_2_classLit;
}

function ButtonEvent(){
}

_ = ButtonEvent.prototype = new BoxComponentEvent;
_.getClass$ = getClass_40;
_.typeId$ = 30;
_.button_0 = null;
function $ClickRepeaterEvent(this$static, el){
  this$static.el = el;
  return this$static;
}

function getClass_41(){
  return Lcom_extjs_gxt_ui_client_event_ClickRepeaterEvent_2_classLit;
}

function ClickRepeaterEvent(){
}

_ = ClickRepeaterEvent.prototype = new BaseEvent;
_.getClass$ = getClass_41;
_.typeId$ = 31;
_.el = null;
function $ComponentManagerEvent(this$static, component){
  this$static.component = component;
  return this$static;
}

function getClass_42(){
  return Lcom_extjs_gxt_ui_client_event_ComponentManagerEvent_2_classLit;
}

function ComponentManagerEvent(){
}

_ = ComponentManagerEvent.prototype = new BaseEvent;
_.getClass$ = getClass_42;
_.typeId$ = 32;
_.component = null;
function $ContainerEvent(this$static, container, component){
  this$static.component = container;
  this$static.container = container;
  this$static.item = component;
  return this$static;
}

function getClass_43(){
  return Lcom_extjs_gxt_ui_client_event_ContainerEvent_2_classLit;
}

function ContainerEvent(){
}

_ = ContainerEvent.prototype = new BoxComponentEvent;
_.getClass$ = getClass_43;
_.typeId$ = 33;
_.container = null;
_.item = null;
function $DatePickerEvent(this$static, datePicker){
  this$static.component = datePicker;
  return this$static;
}

function getClass_44(){
  return Lcom_extjs_gxt_ui_client_event_DatePickerEvent_2_classLit;
}

function DatePickerEvent(){
}

_ = DatePickerEvent.prototype = new ComponentEvent;
_.getClass$ = getClass_44;
_.typeId$ = 34;
function $DragEvent(this$static, draggable){
  this$static.draggable = draggable;
  return this$static;
}

function getClass_45(){
  return Lcom_extjs_gxt_ui_client_event_DragEvent_2_classLit;
}

function DragEvent(){
}

_ = DragEvent.prototype = new DomEvent;
_.getClass$ = getClass_45;
_.typeId$ = 35;
_.draggable = null;
_.height = 0;
_.width = 0;
_.x = 0;
_.y = 0;
function $handleEvent(this$static, de){
  var type;
  type = de.type_0;
  type == ($clinit_56() , DragCancel) || (type == DragEnd?this$static.dragEnd(de):type == DragMove?this$static.dragMove(de):type == DragStart && this$static.dragStart(de));
}

function dragEnd(de){
}

function dragMove(de){
}

function dragStart(de){
}

function getClass_46(){
  return Lcom_extjs_gxt_ui_client_event_DragListener_2_classLit;
}

function handleEvent(p0){
  $handleEvent(this, dynamicCast(p0, 47));
}

function DragListener(){
}

_ = DragListener.prototype = new Object_0;
_.dragEnd = dragEnd;
_.dragMove = dragMove;
_.dragStart = dragStart;
_.getClass$ = getClass_46;
_.handleEvent = handleEvent;
_.typeId$ = 36;
function $EventType(this$static){
  this$static.id_0 = '' + count_0++;
  return this$static;
}

function $EventType_0(this$static, eventCode){
  this$static.id_0 = '' + count_0++;
  this$static.eventCode = eventCode;
  return this$static;
}

function getClass_47(){
  return Lcom_extjs_gxt_ui_client_event_EventType_2_classLit;
}

function EventType(){
}

_ = EventType.prototype = new Object_0;
_.getClass$ = getClass_47;
_.typeId$ = 37;
_.eventCode = -1;
_.id_0 = null;
var count_0 = 0;
function $clinit_56(){
  $clinit_56 = nullMethod;
  Activate = $EventType(new EventType);
  Add = $EventType(new EventType);
  Adopt = $EventType(new EventType);
  $EventType(new EventType);
  AfterLayout = $EventType(new EventType);
  $EventType(new EventType);
  Attach = $EventType(new EventType);
  AutoHide = $EventType(new EventType);
  BeforeAdd = $EventType(new EventType);
  BeforeAdopt = $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  BeforeCollapse = $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  BeforeExpand = $EventType(new EventType);
  BeforeHide = $EventType(new EventType);
  BeforeLayout = $EventType(new EventType);
  $EventType(new EventType);
  BeforeOrphan = $EventType(new EventType);
  $EventType(new EventType);
  BeforeRemove = $EventType(new EventType);
  BeforeRender = $EventType(new EventType);
  BeforeSelect = $EventType(new EventType);
  BeforeShow = $EventType(new EventType);
  $EventType(new EventType);
  BeforeStateRestore = $EventType(new EventType);
  BeforeStateSave = $EventType(new EventType);
  BeforeSubmit = $EventType(new EventType);
  $EventType(new EventType);
  Blur = $EventType(new EventType);
  $EventType(new EventType);
  BrowserEvent = $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  Change = $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  Collapse = $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  Deactivate = $EventType(new EventType);
  Detach = $EventType(new EventType);
  Disable = $EventType(new EventType);
  $EventType(new EventType);
  DragCancel = $EventType(new EventType);
  DragEnd = $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  DragMove = $EventType(new EventType);
  DragStart = $EventType(new EventType);
  $EventType(new EventType);
  EffectCancel = $EventType(new EventType);
  EffectComplete = $EventType(new EventType);
  EffectStart = $EventType(new EventType);
  Enable = $EventType(new EventType);
  $EventType(new EventType);
  Expand = $EventType(new EventType);
  Focus = $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  Hide = $EventType(new EventType);
  Invalid = $EventType(new EventType);
  KeyDown = $EventType(new EventType);
  KeyPress = $EventType(new EventType);
  KeyUp = $EventType(new EventType);
  $EventType(new EventType);
  Maximize = $EventType(new EventType);
  MenuHide = $EventType(new EventType);
  MenuShow = $EventType(new EventType);
  Minimize = $EventType(new EventType);
  Move = $EventType(new EventType);
  OnBlur = $EventType_0(new EventType, 4096);
  OnChange = $EventType_0(new EventType, 1024);
  OnClick = $EventType_0(new EventType, 1);
  OnContextMenu = $EventType_0(new EventType, 262144);
  OnDoubleClick = $EventType_0(new EventType, 2);
  OnError = $EventType_0(new EventType, 65536);
  OnFocus = $EventType_0(new EventType, 2048);
  OnKeyDown = $EventType_0(new EventType, 128);
  OnKeyPress = $EventType_0(new EventType, 256);
  OnKeyUp = $EventType_0(new EventType, 512);
  OnLoad = $EventType_0(new EventType, 32768);
  OnLoseCapture = $EventType_0(new EventType, 8192);
  OnMouseDown = $EventType_0(new EventType, 4);
  OnMouseMove = $EventType_0(new EventType, 64);
  OnMouseOut = $EventType_0(new EventType, 32);
  OnMouseOver = $EventType_0(new EventType, 16);
  OnMouseUp = $EventType_0(new EventType, 8);
  OnMouseWheel = $EventType_0(new EventType, 131072);
  OnScroll = $EventType_0(new EventType, 16384);
  Open = $EventType(new EventType);
  Orphan = $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  Register = $EventType(new EventType);
  Remove = $EventType(new EventType);
  Render = $EventType(new EventType);
  Resize = $EventType(new EventType);
  ResizeEnd = $EventType(new EventType);
  ResizeStart = $EventType(new EventType);
  Restore = $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  Scroll = $EventType(new EventType);
  Select = $EventType(new EventType);
  $EventType(new EventType);
  Show = $EventType(new EventType);
  $EventType(new EventType);
  SpecialKey = $EventType(new EventType);
  $EventType(new EventType);
  StateChange = $EventType(new EventType);
  StateRestore = $EventType(new EventType);
  StateSave = $EventType(new EventType);
  Submit = $EventType(new EventType);
  $EventType(new EventType);
  TriggerClick = $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  Unregister = $EventType(new EventType);
  $EventType(new EventType);
  Valid = $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  $EventType(new EventType);
  browserEvents = $FastMap(new FastMap);
  $put_0(browserEvents, '4096', OnBlur);
  $put_0(browserEvents, '1024', OnChange);
  $put_0(browserEvents, '1', OnClick);
  $put_0(browserEvents, '262144', OnContextMenu);
  $put_0(browserEvents, '2', OnDoubleClick);
  $put_0(browserEvents, '65536', OnError);
  $put_0(browserEvents, '2048', OnFocus);
  $put_0(browserEvents, '128', OnKeyDown);
  $put_0(browserEvents, '256', OnKeyPress);
  $put_0(browserEvents, '512', OnKeyUp);
  $put_0(browserEvents, '32768', OnLoad);
  $put_0(browserEvents, '8192', OnLoseCapture);
  $put_0(browserEvents, '4', OnMouseDown);
  $put_0(browserEvents, '8', OnMouseUp);
  $put_0(browserEvents, '16', OnMouseOver);
  $put_0(browserEvents, '32', OnMouseOut);
  $put_0(browserEvents, '64', OnMouseMove);
  $put_0(browserEvents, '131072', OnMouseWheel);
  $put_0(browserEvents, '16384', OnScroll);
}

function lookupBrowserEvent(browserEventType){
  $clinit_56();
  var type;
  type = dynamicCast(browserEvents.map['' + browserEventType], 14);
  return type;
}

var Activate, Add, Adopt, AfterLayout, Attach, AutoHide, BeforeAdd, BeforeAdopt, BeforeCollapse, BeforeExpand, BeforeHide, BeforeLayout, BeforeOrphan, BeforeRemove, BeforeRender, BeforeSelect, BeforeShow, BeforeStateRestore, BeforeStateSave, BeforeSubmit, Blur, BrowserEvent, Change, Collapse, Deactivate, Detach, Disable, DragCancel, DragEnd, DragMove, DragStart, EffectCancel, EffectComplete, EffectStart, Enable, Expand, Focus, Hide, Invalid, KeyDown, KeyPress, KeyUp, Maximize, MenuHide, MenuShow, Minimize, Move, OnBlur, OnChange, OnClick, OnContextMenu, OnDoubleClick, OnError, OnFocus, OnKeyDown, OnKeyPress, OnKeyUp, OnLoad, OnLoseCapture, OnMouseDown, OnMouseMove, OnMouseOut, OnMouseOver, OnMouseUp, OnMouseWheel, OnScroll, Open, Orphan, Register, Remove, Render, Resize, ResizeEnd, ResizeStart, Restore, Scroll, Select, Show, SpecialKey, StateChange, StateRestore, StateSave, Submit, TriggerClick, Unregister, Valid, browserEvents;
function $FieldEvent(this$static, field){
  this$static.component = field;
  return this$static;
}

function $FieldEvent_0(this$static, field, event_0){
  this$static.component = field;
  this$static.event_0 = event_0;
  return this$static;
}

function getClass_48(){
  return Lcom_extjs_gxt_ui_client_event_FieldEvent_2_classLit;
}

function FieldEvent(){
}

_ = FieldEvent.prototype = new BoxComponentEvent;
_.getClass$ = getClass_48;
_.typeId$ = 38;
function $FormEvent(this$static, formPanel){
  this$static.component = formPanel;
  return this$static;
}

function $FormEvent_0(this$static, formPanel){
  this$static.component = formPanel;
  return this$static;
}

function getClass_49(){
  return Lcom_extjs_gxt_ui_client_event_FormEvent_2_classLit;
}

function FormEvent(){
}

_ = FormEvent.prototype = new ComponentEvent;
_.getClass$ = getClass_49;
_.typeId$ = 39;
function getClass_50(){
  return Lcom_extjs_gxt_ui_client_event_FxEvent_2_classLit;
}

function FxEvent(){
}

_ = FxEvent.prototype = new BaseEvent;
_.getClass$ = getClass_50;
_.typeId$ = 40;
function $HtmlContainerEvent(this$static, container){
  this$static.component = container;
  this$static.container = container;
  this$static.item = null;
  return this$static;
}

function $HtmlContainerEvent_0(this$static, container, component){
  this$static.component = container;
  this$static.container = container;
  this$static.item = component;
  return this$static;
}

function getClass_51(){
  return Lcom_extjs_gxt_ui_client_event_HtmlContainerEvent_2_classLit;
}

function HtmlContainerEvent(){
}

_ = HtmlContainerEvent.prototype = new ContainerEvent;
_.getClass$ = getClass_51;
_.typeId$ = 41;
function $IconButtonEvent(this$static, iconButton, event_0){
  this$static.component = iconButton;
  this$static.event_0 = event_0;
  return this$static;
}

function getClass_52(){
  return Lcom_extjs_gxt_ui_client_event_IconButtonEvent_2_classLit;
}

function IconButtonEvent(){
}

_ = IconButtonEvent.prototype = new BoxComponentEvent;
_.getClass$ = getClass_52;
_.typeId$ = 42;
function $handleEvent_0(this$static, e){
  var type;
  type = e.type_0;
  type == ($clinit_56() , KeyPress) || (type == KeyUp?this$static.componentKeyUp(e):type == KeyDown);
}

function componentKeyUp(event_0){
}

function getClass_53(){
  return Lcom_extjs_gxt_ui_client_event_KeyListener_2_classLit;
}

function handleEvent_0(p0){
  $handleEvent_0(this, dynamicCast(p0, 48));
}

function KeyListener(){
}

_ = KeyListener.prototype = new Object_0;
_.componentKeyUp = componentKeyUp;
_.getClass$ = getClass_53;
_.handleEvent = handleEvent_0;
_.typeId$ = 43;
function $MenuEvent(this$static, menu){
  this$static.component = menu;
  this$static.container = menu;
  this$static.item = null;
  return this$static;
}

function $MenuEvent_0(this$static, container, component){
  this$static.component = container;
  this$static.container = container;
  this$static.item = component;
  return this$static;
}

function getClass_54(){
  return Lcom_extjs_gxt_ui_client_event_MenuEvent_2_classLit;
}

function MenuEvent(){
}

_ = MenuEvent.prototype = new ContainerEvent;
_.getClass$ = getClass_54;
_.typeId$ = 44;
function getClass_55(){
  return Lcom_extjs_gxt_ui_client_event_MvcEvent_2_classLit;
}

function MvcEvent(){
}

_ = MvcEvent.prototype = new BaseEvent;
_.getClass$ = getClass_55;
_.typeId$ = 0;
function getClass_56(){
  return Lcom_extjs_gxt_ui_client_event_PreviewEvent_2_classLit;
}

function PreviewEvent(){
}

_ = PreviewEvent.prototype = new DomEvent;
_.getClass$ = getClass_56;
_.typeId$ = 0;
function getClass_57(){
  return Lcom_extjs_gxt_ui_client_event_ResizeEvent_2_classLit;
}

function ResizeEvent(){
}

_ = ResizeEvent.prototype = new BaseEvent;
_.getClass$ = getClass_57;
_.typeId$ = 45;
function $handleEvent_1(this$static, e){
  var type;
  type = e.type_0;
  type == ($clinit_56() , ResizeStart)?this$static.resizeStart(e):type == ResizeEnd && this$static.resizeEnd(e);
}

function getClass_58(){
  return Lcom_extjs_gxt_ui_client_event_ResizeListener_2_classLit;
}

function handleEvent_1(p0){
  $handleEvent_1(this, dynamicCast(p0, 49));
}

function resizeEnd(re){
}

function resizeStart(re){
}

function ResizeListener(){
}

_ = ResizeListener.prototype = new Object_0;
_.getClass$ = getClass_58;
_.handleEvent = handleEvent_1;
_.resizeEnd = resizeEnd;
_.resizeStart = resizeStart;
_.typeId$ = 46;
function $handleEvent_2(this$static, e){
  var type;
  type = e.type_0;
  type == ($clinit_56() , Select) && this$static.componentSelected(e);
}

function getClass_59(){
  return Lcom_extjs_gxt_ui_client_event_SelectionListener_2_classLit;
}

function handleEvent_2(p0){
  $handleEvent_2(this, dynamicCast(p0, 48));
}

function SelectionListener(){
}

_ = SelectionListener.prototype = new Object_0;
_.getClass$ = getClass_59;
_.handleEvent = handleEvent_2;
_.typeId$ = 47;
function $SplitBarEvent(this$static, splitBar){
  this$static.component = splitBar;
  this$static.splitBar = splitBar;
  return this$static;
}

function getClass_60(){
  return Lcom_extjs_gxt_ui_client_event_SplitBarEvent_2_classLit;
}

function SplitBarEvent(){
}

_ = SplitBarEvent.prototype = new ComponentEvent;
_.getClass$ = getClass_60;
_.typeId$ = 48;
_.size = 0;
_.splitBar = null;
function getClass_61(){
  return Lcom_extjs_gxt_ui_client_event_StateEvent_2_classLit;
}

function StateEvent(){
}

_ = StateEvent.prototype = new BaseEvent;
_.getClass$ = getClass_61;
_.typeId$ = 0;
function $ToolBarEvent(this$static, toolBar, item){
  this$static.component = toolBar;
  this$static.container = toolBar;
  this$static.item = item;
  return this$static;
}

function $ToolBarEvent_0(this$static, toolBar){
  this$static.component = toolBar;
  this$static.container = toolBar;
  this$static.item = null;
  return this$static;
}

function getClass_62(){
  return Lcom_extjs_gxt_ui_client_event_ToolBarEvent_2_classLit;
}

function ToolBarEvent(){
}

_ = ToolBarEvent.prototype = new ContainerEvent;
_.getClass$ = getClass_62;
_.typeId$ = 49;
function $WindowEvent(this$static, window_0){
  this$static.component = window_0;
  return this$static;
}

function $WindowEvent_0(this$static, window_0, event_0){
  this$static.component = window_0;
  this$static.event_0 = event_0;
  return this$static;
}

function $WindowEvent_1(this$static, window_0){
  this$static.component = window_0;
  return this$static;
}

function getClass_63(){
  return Lcom_extjs_gxt_ui_client_event_WindowEvent_2_classLit;
}

function WindowEvent(){
}

_ = WindowEvent.prototype = new BoxComponentEvent;
_.getClass$ = getClass_63;
_.typeId$ = 50;
function getClass_64(){
  return Lcom_extjs_gxt_ui_client_event_WindowManagerEvent_2_classLit;
}

function WindowManagerEvent(){
}

_ = WindowManagerEvent.prototype = new BaseEvent;
_.getClass$ = getClass_64;
_.typeId$ = 0;
function blink_0(el, config, interval){
  var fx;
  fx = $Fx(new Fx, config);
  $run(fx, $BaseEffect$Blink(new BaseEffect$Blink, el, interval));
}

function fadeIn(el, config){
  var fx;
  fx = $Fx(new Fx, config);
  $run(fx, $BaseEffect$FadeIn(new BaseEffect$FadeIn, el));
}

function fadeOut(el, config){
  var fx;
  fx = $Fx(new Fx, config);
  $run(fx, $BaseEffect$FadeOut(new BaseEffect$FadeOut, el));
}

function getClass_65(){
  return Lcom_extjs_gxt_ui_client_fx_BaseEffect_2_classLit;
}

function onCancel(){
}

function onComplete(){
}

function onStart(){
}

function onUpdate(progress){
}

function BaseEffect(){
}

_ = BaseEffect.prototype = new Object_0;
_.getClass$ = getClass_65;
_.onCancel = onCancel;
_.onComplete = onComplete;
_.onStart = onStart;
_.onUpdate = onUpdate;
_.typeId$ = 0;
_.el = null;
function $BaseEffect$Blink(this$static, el, interval){
  this$static.el = el;
  this$static.interval = interval;
  this$static.t = $BaseEffect$Blink$1(new BaseEffect$Blink$1, this$static, el);
  return this$static;
}

function getClass_66(){
  return Lcom_extjs_gxt_ui_client_fx_BaseEffect$Blink_2_classLit;
}

function onCancel_0(){
  $cancel(this.t);
}

function onComplete_0(){
  $cancel(this.t);
  addCommand($BaseEffect$Blink$2(new BaseEffect$Blink$2, this));
}

function onStart_0(){
  $scheduleRepeating(this.t, this.interval);
}

function onUpdate_0(progress){
}

function BaseEffect$Blink(){
}

_ = BaseEffect$Blink.prototype = new BaseEffect;
_.getClass$ = getClass_66;
_.onCancel = onCancel_0;
_.onComplete = onComplete_0;
_.onStart = onStart_0;
_.onUpdate = onUpdate_0;
_.typeId$ = 0;
_.interval = 0;
_.t = null;
_.visible = false;
function $clinit_78(){
  $clinit_78 = nullMethod;
  $clinit_1();
}

function $BaseEffect$Blink$1(this$static, this$1, val$el){
  $clinit_78();
  this$static.this$1 = this$1;
  this$static.val$el = val$el;
  return this$static;
}

function getClass_67(){
  return Lcom_extjs_gxt_ui_client_fx_BaseEffect$Blink$1_2_classLit;
}

function run_0(){
  this.val$el.setVisibility(this.this$1.visible);
  this.this$1.visible = !this.this$1.visible;
}

function BaseEffect$Blink$1(){
}

_ = BaseEffect$Blink$1.prototype = new Timer;
_.getClass$ = getClass_67;
_.run = run_0;
_.typeId$ = 51;
_.this$1 = null;
_.val$el = null;
function $BaseEffect$Blink$2(this$static, this$1){
  this$static.this$1 = this$1;
  return this$static;
}

function execute(){
  this.this$1.el.setVisibility(true);
}

function getClass_68(){
  return Lcom_extjs_gxt_ui_client_fx_BaseEffect$Blink$2_2_classLit;
}

function BaseEffect$Blink$2(){
}

_ = BaseEffect$Blink$2.prototype = new Object_0;
_.execute = execute;
_.getClass$ = getClass_68;
_.typeId$ = 52;
_.this$1 = null;
function getClass_69(){
  return Lcom_extjs_gxt_ui_client_fx_SingleStyleEffect_2_classLit;
}

function increase(value){
  $setStyleAttribute(this.el, this.style_0, $Double(new Double, value));
}

function onUpdate_1(progress){
  var v;
  v = this.from + (this.to - this.from) * progress;
  this.increase(v);
}

function SingleStyleEffect(){
}

_ = SingleStyleEffect.prototype = new BaseEffect;
_.getClass$ = getClass_69;
_.increase = increase;
_.onUpdate = onUpdate_1;
_.typeId$ = 0;
_.from = 0;
_.style_0 = null;
_.to = 0;
function $BaseEffect$FadeIn(this$static, el){
  this$static.el = el;
  this$static.style_0 = 'opacity';
  this$static.from = 0;
  this$static.to = 1;
  return this$static;
}

function getClass_70(){
  return Lcom_extjs_gxt_ui_client_fx_BaseEffect$FadeIn_2_classLit;
}

function increase_0(value){
  $setStyleAttribute(this.el, 'opacity', $Double(new Double, value));
}

function onComplete_1(){
  $setStyleAttribute(this.el, 'filter', '');
}

function onStart_1(){
  $setStyleAttribute(this.el, 'opacity', valueOf_0(0));
  this.el.setVisible(true);
}

function BaseEffect$FadeIn(){
}

_ = BaseEffect$FadeIn.prototype = new SingleStyleEffect;
_.getClass$ = getClass_70;
_.increase = increase_0;
_.onComplete = onComplete_1;
_.onStart = onStart_1;
_.typeId$ = 0;
function $BaseEffect$FadeOut(this$static, el){
  this$static.el = el;
  this$static.style_0 = 'opacity';
  this$static.from = 1;
  this$static.to = 0;
  return this$static;
}

function getClass_71(){
  return Lcom_extjs_gxt_ui_client_fx_BaseEffect$FadeOut_2_classLit;
}

function increase_1(value){
  $setStyleAttribute(this.el, 'opacity', $Double(new Double, value > 0?value:0));
}

function onComplete_2(){
  this.el.setVisible(false);
  this.el.dom_0.style['opacity'] = '';
  this.el.dom_0.style['filter'] = '';
}

function BaseEffect$FadeOut(){
}

_ = BaseEffect$FadeOut.prototype = new SingleStyleEffect;
_.getClass$ = getClass_71;
_.increase = increase_1;
_.onComplete = onComplete_2;
_.typeId$ = 0;
function getClass_72(){
  return Lcom_extjs_gxt_ui_client_fx_BaseEffect$Slide_2_classLit;
}

function increase_2(v){
  $equalsIgnoreCase(this.style_0, 'x')?$setXY(this.el, $Point(new Point, v, -1)):$equalsIgnoreCase(this.style_0, 'y')?$setXY(this.el, $Point(new Point, -1, v)):$setStyleAttribute(this.el, this.style_0, '' + v);
}

function onUpdate_2(progress){
  var v;
  v = ~~Math.max(Math.min(this.from + (this.to - this.from) * progress, 2147483647), -2147483648);
  this.increase_0(v);
}

function BaseEffect$Slide(){
}

_ = BaseEffect$Slide.prototype = new BaseEffect;
_.getClass$ = getClass_72;
_.increase_0 = increase_2;
_.onUpdate = onUpdate_2;
_.typeId$ = 0;
_.dir = null;
_.from = 0;
_.oBounds = null;
_.overflow = null;
_.style_0 = null;
_.to = 0;
_.wrapEl = null;
function $BaseEffect$SlideIn(this$static, el, dir){
  this$static.el = el;
  this$static.dir = dir;
  return this$static;
}

function getClass_73(){
  return Lcom_extjs_gxt_ui_client_fx_BaseEffect$SlideIn_2_classLit;
}

function increase_3(now){
  var v;
  v = now;
  switch (this.dir.ordinal) {
    case 2:
      this.wrapEl.setLeft(this.oBounds.width - v);
      $setStyleAttribute(this.wrapEl, this.style_0, valueOf_0(v));
      break;
    case 0:
      this.wrapEl.setTop(this.oBounds.height - v);
      $setStyleAttribute(this.wrapEl, this.style_0, valueOf_0(v));
      break;
    case 1:
      $setStyleAttribute(this.el, 'marginTop', valueOf_0(-(this.oBounds.height - v)));
      $setStyleAttribute(this.wrapEl, this.style_0, valueOf_0(v));
      break;
    case 3:
      $setStyleAttribute(this.el, 'marginLeft', valueOf_0(-(this.oBounds.width - v)));
      $setStyleAttribute(this.wrapEl, this.style_0, valueOf_0(v));
  }
}

--></script>
<script><!--
function onComplete_3(){
  $unwrap(this.wrapEl, this.el.dom_0, this.oBounds);
  $setStyleAttribute(this.el, 'marginTop', valueOf_0(0));
  $setStyleAttribute(this.el, 'overflow', this.overflow);
}

function onStart_2(){
  var h, w;
  this.overflow = dynamicCast($getStyleAttribute_1(computedStyle, this.el.dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['overflow']))).map['overflow'], 1);
  this.wrapEl = $El(new El, ($clinit_308() , $doc).createElement('div'));
  this.oBounds = $wrap(this.el, this.wrapEl.dom_0);
  h = this.oBounds.height;
  w = this.oBounds.width;
  $setSize_0(this.wrapEl, w, h, false);
  this.el.setVisible(true);
  this.wrapEl.setVisible(true);
  switch (this.dir.ordinal) {
    case 1:
      this.wrapEl.setHeight(1, false);
      this.style_0 = 'height';
      this.from = 1;
      this.to = this.oBounds.height;
      break;
    case 3:
      this.style_0 = 'width';
      this.from = 1;
      this.to = this.oBounds.width;
      break;
    case 2:
      this.wrapEl.setWidth(1, false);
      this.style_0 = 'width';
      this.from = 1;
      this.to = this.oBounds.width;
      break;
    case 0:
      this.wrapEl.setHeight(1, false);
      this.style_0 = 'height';
      this.from = 1;
      this.to = this.oBounds.height;
  }
}

function BaseEffect$SlideIn(){
}

_ = BaseEffect$SlideIn.prototype = new BaseEffect$Slide;
_.getClass$ = getClass_73;
_.increase_0 = increase_3;
_.onComplete = onComplete_3;
_.onStart = onStart_2;
_.typeId$ = 0;
function $BaseEffect$SlideOut(this$static, el, dir){
  this$static.el = el;
  this$static.dir = dir;
  return this$static;
}

function getClass_74(){
  return Lcom_extjs_gxt_ui_client_fx_BaseEffect$SlideOut_2_classLit;
}

function increase_4(v){
  switch (this.dir.ordinal) {
    case 2:
      $setStyleAttribute(this.el, 'marginLeft', valueOf_0(-(this.oBounds.width - v)));
      $setStyleAttribute(this.wrapEl, this.style_0, valueOf_0(v));
      break;
    case 0:
      $setStyleAttribute(this.el, 'marginTop', valueOf_0(-(this.oBounds.height - v)));
      $setStyleAttribute(this.wrapEl, this.style_0, valueOf_0(v));
      break;
    case 1:
      $setXY(this.el, $Point(new Point, -1, v));
      break;
    case 3:
      $setXY(this.el, $Point(new Point, v, -1));
  }
}

function onComplete_4(){
  this.el.setVisible(false);
  $unwrap(this.wrapEl, this.el.dom_0, this.oBounds);
  $setStyleAttribute(this.el, 'overflow', this.overflow);
}

function onStart_3(){
  var h, w;
  this.overflow = dynamicCast($getStyleAttribute_1(computedStyle, this.el.dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['overflow']))).map['overflow'], 1);
  this.wrapEl = $El(new El, ($clinit_308() , $doc).createElement('div'));
  this.oBounds = $wrap(this.el, this.wrapEl.dom_0);
  h = this.oBounds.height;
  w = this.oBounds.width;
  $setSize_0(this.wrapEl, w, h, false);
  this.wrapEl.setVisible(true);
  this.el.setVisible(true);
  switch (this.dir.ordinal) {
    case 0:
      this.style_0 = 'height';
      this.from = this.oBounds.height;
      this.to = 1;
      break;
    case 2:
      this.style_0 = 'width';
      this.from = this.oBounds.width;
      this.to = 0;
      break;
    case 3:
      this.style_0 = 'left';
      this.from = $getAbsoluteLeft(this.wrapEl.dom_0);
      this.to = this.from + (this.wrapEl.dom_0.offsetWidth || 0);
      break;
    case 1:
      this.style_0 = 'top';
      this.from = $getAbsoluteTop(this.wrapEl.dom_0);
      this.to = this.from + (this.wrapEl.dom_0.offsetHeight || 0);
  }
}

function BaseEffect$SlideOut(){
}

_ = BaseEffect$SlideOut.prototype = new BaseEffect$Slide;
_.getClass$ = getClass_74;
_.increase_0 = increase_4;
_.onComplete = onComplete_4;
_.onStart = onStart_3;
_.typeId$ = 0;
function $Draggable(this$static, dragComponent){
  $Draggable_0(this$static, dragComponent, dragComponent);
  return this$static;
}

function $Draggable_0(this$static, dragComponent, handle){
  this$static.listener = $Draggable$1(new Draggable$1, this$static);
  this$static.dragWidget = dragComponent;
  this$static.handle = handle;
  $addListener(handle.observable, ($clinit_56() , OnMouseDown), this$static.listener);
  this$static.preview = $Draggable$2(new Draggable$2, this$static);
  this$static.preview.autoHide = false;
  handle.rendered?$sinkEvents(handle, 4):(handle.events |= 4);
  return this$static;
}

function $addDragListener(this$static, listener){
  $addListener(this$static, ($clinit_56() , DragStart), listener);
  $addListener(this$static, DragMove, listener);
  $addListener(this$static, DragCancel, listener);
  $addListener(this$static, DragEnd, listener);
}

function $afterDrag(){
  $removeStyleName_1(getBodyEl(), 'x-unselectable');
  $removeStyleName_1(getBodyEl(), 'x-dd-cursor');
  $uncover(get_5());
}

function $cancelDrag(this$static){
  $remove_5(this$static.preview);
  if (this$static.dragging) {
    this$static.dragging = false;
    $disableTextSelection(this$static.proxyEl, false);
    this$static.proxyEl.setVisibility(false);
    this$static.proxyEl.remove();
    $fireEvent(this$static, ($clinit_56() , DragCancel), $DragEvent(new DragEvent, this$static));
    $afterDrag();
  }
}

function $onMouseDown(this$static, ce){
  var s, target;
  if (!this$static.enabled || $eventGetButton(($clinit_308() , ce.event_0)) != 1) {
    return;
  }
  target = !ce.event_0?null:($clinit_308() , ce.event_0).target;
  s = target['className'] == null?null:String(target['className']);
  if (s != null && s.indexOf('x-nodrag') != -1) {
    return;
  }
  !$equalsIgnoreCase('input', $getTagName_0(!ce.event_0?null:($clinit_308() , ce.event_0).target)) && !$equalsIgnoreCase('textarea', $getTagName_0(!ce.event_0?null:($clinit_308() , ce.event_0).target)) && $preventDefault(ce);
  this$static.startBounds = $getBounds(this$static.dragWidget.el, false, false);
  this$static.dragStartX = $getClientX(ce);
  this$static.dragStartY = $getClientY(ce);
  $add_1(this$static.preview);
  this$static.clientWidth_0 = $getClientWidth($doc) + getBodyScrollLeft();
  this$static.clientHeight_0 = $getClientHeight($doc) + getBodyScrollTop();
  this$static.startDragDistance == 0 && $startDrag(this$static, ce.event_0);
}

function $onMouseMove(this$static, event_0){
  var cls, height, left, tl, top_0, tt, width, x, y;
  cls = ($clinit_308() , event_0).target.className;
  if (cls != null && cls.indexOf('x-insert') != -1) {
    return;
  }
  x = event_0.clientX || 0;
  y = event_0.clientY || 0;
  !this$static.dragging && (abs(this$static.dragStartX - x) > this$static.startDragDistance || abs(this$static.dragStartY - y) > this$static.startDragDistance) && $startDrag(this$static, event_0);
  if (this$static.dragging) {
    left = this$static.constrainHorizontal?this$static.startBounds.x:this$static.startBounds.x + (x - this$static.dragStartX);
    top_0 = this$static.constrainVertical?this$static.startBounds.y:this$static.startBounds.y + (y - this$static.dragStartY);
    if (this$static.constrainClient) {
      if (!this$static.constrainHorizontal) {
        width = this$static.startBounds.width;
        left = left > 0?left:0;
        left = max_0(0, min_1(this$static.clientWidth_0 - width, left));
      }
      if (!this$static.constrainVertical) {
        top_0 = top_0 > 0?top_0:0;
        height = this$static.startBounds.height;
        min_1(this$static.clientHeight_0 - height, top_0) > 0 && (top_0 = max_0(2, min_1(this$static.clientHeight_0 - height, top_0)));
      }
    }
    if (!this$static.constrainHorizontal) {
      this$static.xLeft != -1 && (left = max_0(this$static.startBounds.x - this$static.xLeft, left));
      this$static.xRight != -1 && (left = min_1(this$static.startBounds.x + this$static.xRight, left));
    }
    if (!this$static.constrainVertical) {
      this$static.xTop != -1 && (top_0 = max_0(this$static.startBounds.y - this$static.xTop, top_0));
      this$static.xBottom != -1 && (top_0 = min_1(this$static.startBounds.y + this$static.xBottom, top_0));
    }
    this$static.lastX = left;
    this$static.lastY = top_0;
    this$static.dragEvent.event_0 = event_0;
    this$static.dragEvent.cancelled = false;
    this$static.dragEvent.x = this$static.lastX;
    this$static.dragEvent.y = this$static.lastY;
    $fireEvent(this$static, ($clinit_56() , DragMove), this$static.dragEvent);
    if (this$static.dragEvent.cancelled) {
      $cancelDrag(this$static);
      return;
    }
    tl = this$static.dragEvent.x != this$static.lastX?this$static.dragEvent.x:this$static.lastX;
    tt = this$static.dragEvent.y != this$static.lastY?this$static.dragEvent.y:this$static.lastY;
    $setPagePosition(this$static.proxyEl, tl, tt);
  }
}

function $release(this$static){
  $cancelDrag(this$static);
  $removeListener(this$static.handle.observable, ($clinit_56() , OnMouseDown), this$static.listener);
}

function $setXConstraint(this$static, left, right){
  this$static.xLeft = left;
  this$static.xRight = right;
}

function $setYConstraint(this$static, top_0, bottom){
  this$static.xTop = top_0;
  this$static.xBottom = bottom;
}

function $startDrag(this$static, event_0){
  var de;
  de = $DragEvent(new DragEvent, this$static);
  de.event_0 = event_0;
  de.x = this$static.startBounds.x;
  de.y = this$static.startBounds.y;
  if ($fireEvent(this$static, ($clinit_56() , DragStart), de)) {
    this$static.dragging = true;
    $addStyleName(getBodyEl(), initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-unselectable']));
    $addStyleName(getBodyEl(), initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-dd-cursor']));
    $makePositionable(this$static.dragWidget.el, false);
    ($clinit_308() , event_0).preventDefault();
    $cover(get_5(), true);
    this$static.lastX = this$static.startBounds.x;
    this$static.lastY = this$static.startBounds.y;
    !this$static.dragEvent && (this$static.dragEvent = $DragEvent(new DragEvent, this$static));
    !this$static.proxyEl && (this$static.proxyEl = $El(new El, $doc.createElement('div')) , this$static.proxyEl.setVisibility(false) , this$static.proxyEl.dom_0.className = this$static.proxyStyle , $disableTextSelection(this$static.proxyEl, true) , this$static.proxyEl);
    ($clinit_34() , $doc.body || $doc.documentElement).appendChild(this$static.proxyEl.dom_0);
    this$static.proxyEl.setVisibility(true);
    this$static.proxyEl.setZIndex(++zIndexId);
    $makePositionable(this$static.proxyEl, true);
    this$static.sizeProxyToSource?$setBounds_0(this$static.proxyEl, this$static.startBounds):$setXY(this$static.proxyEl, $Point(new Point, this$static.startBounds.x, this$static.startBounds.y));
    de.height > 0 && de.width > 0?$setSize_0(this$static.proxyEl, de.width, de.height, true):de.height > 0?this$static.proxyEl.setHeight(de.height, true):de.width > 0 && this$static.proxyEl.setWidth(de.width, true);
  }
   else {
    $cancelDrag(this$static);
  }
}

function $stopDrag(this$static, event_0){
  var de, rect;
  $remove_5(this$static.preview);
  if (this$static.dragging) {
    this$static.dragging = false;
    rect = $getBounds(this$static.proxyEl, false, false);
    $setPagePosition(this$static.dragWidget.el, rect.x, rect.y);
    this$static.proxyEl.setVisibility(false);
    $disableTextSelection(this$static.proxyEl, false);
    this$static.proxyEl.remove();
    de = $DragEvent(new DragEvent, this$static);
    de.event_0 = event_0;
    de.x = this$static.lastX;
    de.y = this$static.lastY;
    $fireEvent(this$static, ($clinit_56() , DragEnd), de);
    $afterDrag();
  }
}

function getClass_75(){
  return Lcom_extjs_gxt_ui_client_fx_Draggable_2_classLit;
}

function Draggable(){
}

_ = Draggable.prototype = new BaseObservable;
_.getClass$ = getClass_75;
_.typeId$ = 0;
_.clientHeight_0 = 0;
_.clientWidth_0 = 0;
_.constrainClient = true;
_.constrainHorizontal = false;
_.constrainVertical = false;
_.dragEvent = null;
_.dragStartX = 0;
_.dragStartY = 0;
_.dragWidget = null;
_.dragging = false;
_.enabled = true;
_.handle = null;
_.lastX = 0;
_.lastY = 0;
_.listener = null;
_.preview = null;
_.proxyEl = null;
_.proxyStyle = 'x-drag-proxy';
_.sizeProxyToSource = true;
_.startBounds = null;
_.startDragDistance = 2;
_.xBottom = -1;
_.xLeft = -1;
_.xRight = -1;
_.xTop = -1;
function $Draggable$1(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function getClass_76(){
  return Lcom_extjs_gxt_ui_client_fx_Draggable$1_2_classLit;
}

function handleEvent_3(p0){
  $onMouseDown(this.this$0, dynamicCast(p0, 48));
}

function Draggable$1(){
}

_ = Draggable$1.prototype = new Object_0;
_.getClass$ = getClass_76;
_.handleEvent = handleEvent_3;
_.typeId$ = 53;
_.this$0 = null;
function $add_1(this$static){
  if (!this$static.handler) {
    this$static.handler = addNativePreviewHandler(this$static);
    $fireEvent(this$static, ($clinit_56() , Add), new BaseEvent);
  }
}

function $onAutoHidePreview(this$static, ce){
  var ignore;
  switch (ce.type_0.eventCode) {
    case 4:
    case 8:
    case 1:
    case 2:
      {
        ignore = $is(this$static.ignoreList, !ce.event_0?null:($clinit_308() , ce.event_0).target);
        if (!ignore && this$static.onAutoHide(ce)) {
          return true;
        }
      }

  }
  return false;
}

function $onPreview(this$static, pe){
  switch (pe.type_0.eventCode) {
    case 256:
      ($clinit_128() , $clinit_128() , keyEvent).eventCode == 256 && this$static.onPreviewKeyPress(pe);
      break;
    case 128:
      ($clinit_128() , $clinit_128() , keyEvent).eventCode == 128 && this$static.onPreviewKeyPress(pe);
  }
  return true;
}

function $push(this$static){
  if (this$static.handler) {
    $remove_5(this$static);
    $add_1(this$static);
  }
}

function $remove_5(this$static){
  if (this$static.handler) {
    $removeHandler(this$static.handler);
    this$static.handler = null;
    $fireEvent(this$static, ($clinit_56() , Remove), new BaseEvent);
  }
}

function getClass_77(){
  return Lcom_extjs_gxt_ui_client_util_BaseEventPreview_2_classLit;
}

function onAutoHide(ce){
  return true;
}

function onPreview(pe){
  return $onPreview(this, pe);
}

function onPreviewKeyPress(pe){
  $fireEvent(this, ($clinit_56() , KeyPress), pe);
}

function onPreviewNativeEvent(event_0){
  var e, pe;
  e = event_0.nativeEvent;
  pe = new PreviewEvent;
  pe.type_0 = $EventType_0(new EventType, $eventGetTypeInt(($clinit_308() , e).type));
  pe.event_0 = e;
  $getClientX(pe);
  $getClientY(pe);
  if (this.autoHide && $onAutoHidePreview(this, pe)) {
    this.autoHideAllowEvent && (event_0.isCanceled = true);
    $remove_5(this);
  }
  !this.onPreview(pe) && (event_0.isCanceled = true);
}

function BaseEventPreview(){
}

_ = BaseEventPreview.prototype = new BaseObservable;
_.getClass$ = getClass_77;
_.onAutoHide = onAutoHide;
_.onPreview = onPreview;
_.onPreviewKeyPress = onPreviewKeyPress;
_.onPreviewNativeEvent = onPreviewNativeEvent;
_.typeId$ = 54;
_.autoHide = true;
_.autoHideAllowEvent = false;
_.handler = null;
function $Draggable$2(this$static, this$0){
  this$static.this$0 = this$0;
  this$static.ignoreList = $CompositeElement(new CompositeElement);
  return this$static;
}

function getClass_78(){
  return Lcom_extjs_gxt_ui_client_fx_Draggable$2_2_classLit;
}

function onPreview_0(event_0){
  $preventDefault(event_0);
  switch (!event_0.event_0?-1:$eventGetTypeInt(($clinit_308() , event_0.event_0).type)) {
    case 128:
      this.this$0.dragging && (!event_0.event_0?-1:$eventGetKeyCode(($clinit_308() , event_0.event_0))) == 27 && $cancelDrag(this.this$0);
      break;
    case 64:
      $onMouseMove(this.this$0, event_0.event_0);
      break;
    case 8:
      $stopDrag(this.this$0, event_0.event_0);
  }
  return true;
}

function Draggable$2(){
}

_ = Draggable$2.prototype = new BaseEventPreview;
_.getClass$ = getClass_78;
_.onPreview = onPreview_0;
_.typeId$ = 55;
_.this$0 = null;
function $Fx(this$static, config){
  this$static.animation = $Fx$1(new Fx$1, this$static);
  this$static.duration = config.duration;
  $addListener(this$static, ($clinit_56() , EffectStart), config.effectStartListener);
  $addListener(this$static, EffectComplete, config.effectCompleteListener);
  return this$static;
}

function $onCancel_0(this$static){
  this$static.effect.onCancel();
  $fireEvent(this$static, ($clinit_56() , EffectCancel), new FxEvent);
}

function $onComplete_0(this$static){
  this$static.effect.onComplete();
  $fireEvent(this$static, ($clinit_56() , EffectComplete), new FxEvent);
}

function $onStart_0(this$static){
  this$static.effect.onStart();
  $fireEvent(this$static, ($clinit_56() , EffectStart), new FxEvent);
}

function $run(this$static, effect){
  return $run_0(this$static, this$static.duration > 0?this$static.duration:500, effect);
}

function $run_0(this$static, duration, effect){
  if (this$static.isRunning)
    return false;
  this$static.effect = effect;
  $run_1(this$static.animation, duration, (new Date).getTime());
  return true;
}

function getClass_79(){
  return Lcom_extjs_gxt_ui_client_fx_Fx_2_classLit;
}

function Fx(){
}

_ = Fx.prototype = new BaseObservable;
_.getClass$ = getClass_79;
_.typeId$ = 0;
_.animation = null;
_.duration = 0;
_.effect = null;
_.isRunning = false;
function $cancel_0(this$static){
  if (!this$static.running) {
    return;
  }
  $remove_20(animations, this$static);
  $onCancel_0(this$static.this$0);
  this$static.this$0.isRunning = false;
  this$static.started = false;
  this$static.running = false;
}

function $run_1(this$static, duration, startTime){
  $cancel_0(this$static);
  this$static.running = true;
  this$static.duration = duration;
  this$static.startTime = startTime;
  if ($update_0(this$static, (new Date).getTime())) {
    return;
  }
  if (!animations) {
    animations = $ArrayList(new ArrayList);
    animationTimer = ($clinit_285() , $clinit_1() , new Animation$1);
  }
  $add_13(animations, this$static);
  animations.size == 1 && $schedule(animationTimer, 25);
}

function $update_0(this$static, curTime){
  var finished, progress;
  finished = curTime >= this$static.startTime + this$static.duration;
  if (this$static.started && !finished) {
    progress = (curTime - this$static.startTime) / this$static.duration;
    this$static.this$0.effect.onUpdate((1 + Math.cos(3.141592653589793 + progress * 3.141592653589793)) / 2);
    return false;
  }
  if (!this$static.started && curTime >= this$static.startTime) {
    this$static.started = true;
    this$static.this$0.isRunning = true;
    $onStart_0(this$static.this$0);
  }
  if (finished) {
    $onComplete_0(this$static.this$0);
    this$static.this$0.isRunning = false;
    this$static.started = false;
    this$static.running = false;
    return true;
  }
  return false;
}

function getClass_80(){
  return Lcom_google_gwt_animation_client_Animation_2_classLit;
}

function updateAnimations(){
  var animation, animation$array, animation$index, animation$max, curAnimations, curTime;
  curAnimations = initDim(_3Lcom_google_gwt_animation_client_Animation_2_classLit, 319, 20, animations.size, 0);
  curAnimations = dynamicCast($toArray_1(animations, curAnimations), 101);
  curTime = (new Date).getTime();
  for (animation$array = curAnimations , animation$index = 0 , animation$max = animation$array.length; animation$index < animation$max; ++animation$index) {
    animation = animation$array[animation$index];
    animation.running && $update_0(animation, curTime) && $remove_20(animations, animation);
  }
  animations.size > 0 && $schedule(animationTimer, 25);
}

function Animation(){
}

_ = Animation.prototype = new Object_0;
_.getClass$ = getClass_80;
_.typeId$ = 56;
_.duration = -1;
_.running = false;
_.startTime = -1;
_.started = false;
var animationTimer = null, animations = null;
function $Fx$1(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function getClass_81(){
  return Lcom_extjs_gxt_ui_client_fx_Fx$1_2_classLit;
}

function Fx$1(){
}

_ = Fx$1.prototype = new Animation;
_.getClass$ = getClass_81;
_.typeId$ = 57;
_.this$0 = null;
function $clinit_94(){
  $clinit_94 = nullMethod;
  NONE_0 = ($clinit_94() , new FxConfig);
}

function $FxConfig_0(this$static, callback){
  $clinit_94();
  this$static.effectCompleteListener = callback;
  return this$static;
}

function $FxConfig_1(this$static, duration, callback){
  $clinit_94();
  this$static.duration = duration;
  this$static.effectCompleteListener = callback;
  return this$static;
}

function getClass_82(){
  return Lcom_extjs_gxt_ui_client_fx_FxConfig_2_classLit;
}

function FxConfig(){
}

_ = FxConfig.prototype = new Object_0;
_.getClass$ = getClass_82;
_.typeId$ = 0;
_.duration = 0;
_.effectCompleteListener = null;
_.effectStartListener = null;
var NONE_0;
function $Resizable(this$static, resize){
  this$static.resize = resize;
  this$static.handles = 'all';
  this$static.listener = $Resizable$1(new Resizable$1, this$static);
  $addListener(resize.observable, ($clinit_56() , Render), this$static.listener);
  $addListener(resize.observable, Attach, this$static.listener);
  $addListener(resize.observable, Detach, this$static.listener);
  resize.rendered && $init_0(this$static);
  resize.attached && $onAttach(this$static);
  return this$static;
}

function $addResizeListener(this$static, listener){
  $addListener(this$static, ($clinit_56() , ResizeStart), listener);
  $addListener(this$static, ResizeEnd, listener);
}

function $constrain(v, diff, m, mx){
  v - diff < m?(diff = v - m):v - diff > mx && (diff = mx - v);
  return diff;
}

function $create(this$static, dir, cls){
  var rh;
  rh = $Resizable$ResizeHandle(new Resizable$ResizeHandle, this$static);
  $setStyleName_2(rh, 'x-resizable-handle x-resizable-handle-' + cls);
  rh.dir = dir;
  $render(rh, $getElement_0(this$static.resize), -1);
  $add_13(this$static.handleList, rh);
  return rh;
}

function $handleMouseDown(this$static, event_0, handle){
  var body, x, y, elem;
  if (!this$static.enabled || !$fireEvent(this$static, ($clinit_56() , ResizeStart), new ResizeEvent)) {
    return;
  }
  this$static.dir = handle.dir;
  this$static.startBox = $getBounds(this$static.resize.el, false, false);
  x = ($clinit_308() , event_0).clientX || 0;
  y = event_0.clientY || 0;
  this$static.startPoint = $Point(new Point, x, y);
  this$static.resizing = true;
  !this$static.proxyEl && (this$static.proxyEl = $El(new El, (elem = $doc.createElement('div') , $setStyleName_0(($clinit_19() , fly_1(elem, '_global')), 'x-resizable-proxy', true) , $disableTextSelection(fly_1(elem, '_global'), true) , elem)));
  body = ($clinit_465() , $doc.body);
  body.appendChild(this$static.proxyEl.dom_0);
  $makePositionable(this$static.proxyEl, true);
  this$static.proxyEl.setLeft(this$static.startBox.x).setTop(this$static.startBox.y);
  $setSize_0(this$static.proxyEl, this$static.startBox.width, this$static.startBox.height, true);
  this$static.proxyEl.setVisible(true);
  $add_1(this$static.preview);
  $cover(get_5(), false);
  $updateZIndex(this$static.proxyEl, 5);
  $setStyleAttribute_2(get_5(), 'cursor', dynamicCast($getStyleAttribute_1(computedStyle, handle.el.dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['cursor']))).map['cursor'], 1));
}

function $handleMouseMove(this$static, xin, yin){
  var diffX, diffY, eventXY, h, mh, mw, w, x, y;
  if (this$static.resizing) {
    x = this$static.startBox.x;
    y = this$static.startBox.y;
    w = this$static.startBox.width;
    h = this$static.startBox.height;
    mw = this$static.minWidth;
    mh = this$static.minHeight;
    eventXY = $Point(new Point, xin, yin);
    diffX = -(this$static.startPoint.x - max_0(2, eventXY.x));
    diffY = -(this$static.startPoint.y - max_0(2, eventXY.y));
    switch (this$static.dir.ordinal) {
      case 0:
        w += diffX;
        w = (mw > w?mw:w) < 2000?mw > w?mw:w:2000;
        break;
      case 4:
        h += diffY;
        h = (mh > h?mh:h) < 2000?mh > h?mh:h:2000;
        break;
      case 5:
        w += diffX;
        h += diffY;
        w = (mw > w?mw:w) < 2000?mw > w?mw:w:2000;
        h = (mh > h?mh:h) < 2000?mh > h?mh:h:2000;
        break;
      case 1:
        diffY = $constrain(~~Math.max(Math.min(h, 2147483647), -2147483648), diffY, mh, 2000);
        y += diffY;
        h -= diffY;
        break;
      case 7:
        diffX = $constrain(~~Math.max(Math.min(w, 2147483647), -2147483648), diffX, mw, 2000);
        x += diffX;
        w -= diffX;
        break;
      case 2:
        w += diffX;
        w = (mw > w?mw:w) < 2000?mw > w?mw:w:2000;
        diffY = $constrain(~~Math.max(Math.min(h, 2147483647), -2147483648), diffY, mh, 2000);
        y += diffY;
        h -= diffY;
        break;
      case 3:
        diffX = $constrain(~~Math.max(Math.min(w, 2147483647), -2147483648), diffX, mw, 2000);
        diffY = $constrain(~~Math.max(Math.min(h, 2147483647), -2147483648), diffY, mh, 2000);
        y += diffY;
        h -= diffY;
        x += diffX;
        w -= diffX;
        break;
      case 6:
        diffX = $constrain(~~Math.max(Math.min(w, 2147483647), -2147483648), diffX, mw, 2000);
        h += diffY;
        h = (mh > h?mh:h) < 2000?mh > h?mh:h:2000;
        x += diffX;
        w -= diffX;
    }
    $setLeftTop(this$static.proxyEl, x, y);
    $setSize_0(this$static.proxyEl, ~~Math.max(Math.min(w, 2147483647), -2147483648), ~~Math.max(Math.min(h, 2147483647), -2147483648), true);
  }
}

function $handleMouseUp(this$static){
  var rect;
  this$static.resizing = false;
  $remove_5(this$static.preview);
  $uncover(get_5());
  rect = $getBounds(this$static.proxyEl, false, false);
  rect.width = min_1(rect.width, 2000);
  rect.height = min_1(rect.height, 2000);
  $disableTextSelection(this$static.proxyEl, false);
  this$static.proxyEl.setVisible(false);
  this$static.proxyEl.remove();
  $setBounds_2(this$static.resize, rect);
  $syncHandleHeight(this$static);
  $fireEvent(this$static, ($clinit_56() , ResizeEnd), new ResizeEvent);
}

function $init_0(this$static){
  var i, temp;
  $makePositionable(this$static.resize.el, false);
  if (!this$static.handleList) {
    this$static.handleList = $ArrayList(new ArrayList);
    $equals_4('all', this$static.handles) && (this$static.handles = 'n s e w ne nw se sw');
    temp = $split(this$static.handles, ' ', 0);
    for (i = 0; i < temp.length; ++i) {
      $equals_4('n', temp[i])?$create(this$static, ($clinit_98() , N), 'north'):$equals_4('nw', temp[i])?$create(this$static, ($clinit_98() , NW), 'northwest'):$equals_4('e', temp[i])?$create(this$static, ($clinit_98() , E), 'east'):$equals_4('w', temp[i])?$create(this$static, ($clinit_98() , W), 'west'):$equals_4('se', temp[i])?$create(this$static, ($clinit_98() , SE), 'southeast'):$equals_4('s', temp[i])?$create(this$static, ($clinit_98() , S), 'south'):$equals_4('ne', temp[i])?$create(this$static, ($clinit_98() , NE), 'northeast'):$equals_4('sw', temp[i]) && $create(this$static, ($clinit_98() , SW), 'southwest');
    }
    this$static.preview = $Resizable$2(new Resizable$2, this$static);
    this$static.preview.autoHide = false;
  }
  $syncHandleHeight(this$static);
  $setEnabled_0(this$static, this$static.enabled);
}

function $onAttach(this$static){
  var handle, handle$iterator;
  if (this$static.handleList) {
    for (handle$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.handleList); handle$iterator.i < handle$iterator.this$0_0.size_0();) {
      handle = dynamicCast($next_4(handle$iterator), 50);
      !!handle && !handle.isAttached() && (handle.onAttach() , undefined);
    }
  }
}

function $onDetach(this$static){
  var handle, handle$iterator;
  if (this$static.handleList) {
    for (handle$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.handleList); handle$iterator.i < handle$iterator.this$0_0.size_0();) {
      handle = dynamicCast($next_4(handle$iterator), 50);
      !!handle && handle.isAttached() && (handle.onDetach() , undefined);
    }
  }
}

function $release_0(this$static){
  var handle, handle$iterator;
  $onDetach(this$static);
  $removeListener(this$static.resize.observable, ($clinit_56() , Attach), this$static.listener);
  $removeListener(this$static.resize.observable, Detach, this$static.listener);
  $removeListener(this$static.resize.observable, Render, this$static.listener);
  if (this$static.handleList) {
    for (handle$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.handleList); handle$iterator.i < handle$iterator.this$0_0.size_0();) {
      handle = dynamicCast($next_4(handle$iterator), 50);
      $getElement_0(this$static.resize).removeChild($getElement_0(handle));
    }
  }
}

function $setEnabled_0(this$static, enable){
  var handle, handle$iterator;
  if (this$static.enabled != enable && !!this$static.handleList) {
    for (handle$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.handleList); handle$iterator.i < handle$iterator.this$0_0.size_0();) {
      handle = dynamicCast($next_4(handle$iterator), 50);
      handle.el.setVisibility(enable);
    }
    enable && $syncHandleHeight(this$static);
  }
  this$static.enabled = enable;
}

function $syncHandleHeight(this$static){
  var height, r, r$iterator;
  if (!!this$static.resize && !!this$static.handleList) {
    height = $getHeight(this$static.resize.el, true);
    for (r$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.handleList); r$iterator.i < r$iterator.this$0_0.size_0();) {
      r = dynamicCast($next_4(r$iterator), 50);
      (r.dir == ($clinit_98() , E) || r.dir == W) && r.el.setHeight(height, false);
    }
    $repaint(this$static.resize.el);
  }
}

function getClass_83(){
  return Lcom_extjs_gxt_ui_client_fx_Resizable_2_classLit;
}

function Resizable(){
}

_ = Resizable.prototype = new BaseObservable;
_.getClass$ = getClass_83;
_.typeId$ = 0;
_.dir = null;
_.enabled = true;
_.handleList = null;
_.handles = null;
_.listener = null;
--></script>
<script><!--
_.minHeight = 50;
_.minWidth = 50;
_.preview = null;
_.proxyEl = null;
_.resize = null;
_.resizing = false;
_.startBox = null;
_.startPoint = null;
function $Resizable$1(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function getClass_84(){
  return Lcom_extjs_gxt_ui_client_fx_Resizable$1_2_classLit;
}

function handleEvent_4(p0){
  var type;
  type = dynamicCast(p0, 48).type_0;
  type == ($clinit_56() , Render)?$init_0(this.this$0):type == Attach?$onAttach(this.this$0):type == Detach && $onDetach(this.this$0);
}

function Resizable$1(){
}

_ = Resizable$1.prototype = new Object_0;
_.getClass$ = getClass_84;
_.handleEvent = handleEvent_4;
_.typeId$ = 58;
_.this$0 = null;
function $Resizable$2(this$static, this$0){
  this$static.this$0 = this$0;
  this$static.ignoreList = $CompositeElement(new CompositeElement);
  return this$static;
}

function getClass_85(){
  return Lcom_extjs_gxt_ui_client_fx_Resizable$2_2_classLit;
}

function onPreview_1(event_0){
  var x, y;
  $preventDefault(event_0);
  switch (!event_0.event_0?-1:$eventGetTypeInt(($clinit_308() , event_0.event_0).type)) {
    case 64:
      x = $getClientX(event_0);
      y = $getClientY(event_0);
      $handleMouseMove(this.this$0, x, y);
      break;
    case 8:
      $handleMouseUp(this.this$0);
  }
  return true;
}

function Resizable$2(){
}

_ = Resizable$2.prototype = new BaseEventPreview;
_.getClass$ = getClass_85;
_.onPreview = onPreview_1;
_.typeId$ = 59;
_.this$0 = null;
function $clinit_98(){
  $clinit_98 = nullMethod;
  E = $Resizable$Dir(new Resizable$Dir, 'E', 0);
  N = $Resizable$Dir(new Resizable$Dir, 'N', 1);
  NE = $Resizable$Dir(new Resizable$Dir, 'NE', 2);
  NW = $Resizable$Dir(new Resizable$Dir, 'NW', 3);
  S = $Resizable$Dir(new Resizable$Dir, 'S', 4);
  SE = $Resizable$Dir(new Resizable$Dir, 'SE', 5);
  SW = $Resizable$Dir(new Resizable$Dir, 'SW', 6);
  W = $Resizable$Dir(new Resizable$Dir, 'W', 7);
}

function $Resizable$Dir(this$static, enum$name, enum$ordinal){
  $clinit_98();
  this$static.name_0 = enum$name;
  this$static.ordinal = enum$ordinal;
  return this$static;
}

function getClass_86(){
  return Lcom_extjs_gxt_ui_client_fx_Resizable$Dir_2_classLit;
}

function values_10(){
  $clinit_98();
  return initValues(_3Lcom_extjs_gxt_ui_client_fx_Resizable$Dir_2_classLit, 314, 15, [E, N, NE, NW, S, SE, SW, W]);
}

function Resizable$Dir(){
}

_ = Resizable$Dir.prototype = new Enum;
_.getClass$ = getClass_86;
_.typeId$ = 60;
var E, N, NE, NW, S, SE, SW, W;
function $replaceNode(node, newNode){
  var p = node.parentNode;
  if (!p) {
    return;
  }
  p.insertBefore(newNode, node);
  p.removeChild(node);
}

function $toString_3(this$static){
  if (!this$static.element) {
    return '(null handle)';
  }
  return $toString_5(($clinit_308() , this$static.getElement()));
}

function getClass_87(){
  return Lcom_google_gwt_user_client_ui_UIObject_2_classLit;
}

function getElement(){
  return this.element;
}

function isVisible_0(){
  return this.getElement().style.display != 'none';
}

function toString_7(){
  return $toString_3(this);
}

function UIObject(){
}

_ = UIObject.prototype = new Object_0;
_.getClass$ = getClass_87;
_.getElement = getElement;
_.isVisible = isVisible_0;
_.toString$ = toString_7;
_.typeId$ = 61;
_.element = null;
function $addDomHandler(this$static, handler, type){
  $sinkEvents(this$static, $eventGetTypeInt(type.name_0));
  return $addHandler(!this$static.handlerManager?(this$static.handlerManager = $HandlerManager(new HandlerManager, this$static)):this$static.handlerManager, type, handler);
}

function $fireEvent_0(this$static, event_0){
  !!this$static.handlerManager && $fireEvent_5(this$static.handlerManager, event_0);
}

function $onAttach_0(this$static){
  var bitsToAdd;
  if (this$static.isAttached()) {
    throw $IllegalStateException_0(new IllegalStateException, "Should only call onAttach when the widget is detached from the browser's document");
  }
  this$static.attached = true;
  this$static.getElement().__listener = this$static;
  bitsToAdd = this$static.eventsToSink;
  this$static.eventsToSink = -1;
  bitsToAdd > 0 && this$static.sinkEvents(bitsToAdd);
  this$static.doAttachChildren();
  this$static.onLoad();
}

function $onDetach_0(this$static){
  if (!this$static.isAttached()) {
    throw $IllegalStateException_0(new IllegalStateException, "Should only call onDetach when the widget is attached to the browser's document");
  }
  try {
    this$static.onUnload();
  }
   finally {
    try {
      this$static.doDetachChildren();
    }
     finally {
      this$static.getElement().__listener = null;
      this$static.attached = false;
    }
  }
}

function $removeFromParent_0(this$static){
  if (!this$static.parent_0) {
    $clinit_465();
    $containsKey_2(widgetsToDetach.map, this$static) && detachNow(this$static);
  }
   else if (instanceOf(this$static.parent_0, 124)) {
    dynamicCast(this$static.parent_0, 124).remove_4(this$static);
  }
   else if (this$static.parent_0) {
    throw $IllegalStateException_0(new IllegalStateException, "This widget's parent does not implement HasWidgets");
  }
}

function $replaceElement_0(this$static, elem){
  this$static.attached && (this$static.element.__listener = null , undefined);
  !!this$static.element && $replaceNode(this$static.element, elem);
  this$static.element = elem;
  this$static.attached && (this$static.element.__listener = this$static , undefined);
}

function $setParent(this$static, parent_0){
  var oldParent;
  oldParent = this$static.parent_0;
  if (!parent_0) {
    try {
      !!oldParent && oldParent.isAttached() && this$static.onDetach();
    }
     finally {
      this$static.parent_0 = null;
    }
  }
   else {
    if (oldParent) {
      throw $IllegalStateException_0(new IllegalStateException, 'Cannot set a new parent without first clearing the old parent');
    }
    this$static.parent_0 = parent_0;
    parent_0.attached && this$static.onAttach();
  }
}

function $sinkEvents(this$static, eventBitsToAdd){
  this$static.eventsToSink == -1?$sinkEvents_1(this$static.getElement(), eventBitsToAdd | (this$static.getElement().__eventBits || 0)):(this$static.eventsToSink |= eventBitsToAdd);
}

function doAttachChildren(){
}

function doDetachChildren(){
}

function getClass_88(){
  return Lcom_google_gwt_user_client_ui_Widget_2_classLit;
}

function isAttached(){
  return this.attached;
}

function onAttach(){
  $onAttach_0(this);
}

function onBrowserEvent(event_0){
  var related;
  switch ($eventGetTypeInt(($clinit_308() , event_0).type)) {
    case 16:
    case 32:
      related = $eventGetRelatedTarget(event_0);
      if (!!related && $isOrHasChild_0(this.getElement(), related)) {
        return;
      }

  }
  fireNativeEvent(event_0, this, this.getElement());
}

function onDetach(){
  $onDetach_0(this);
}

function onLoad(){
}

function onUnload(){
}

function removeFromParent(){
  $removeFromParent_0(this);
}

function sinkEvents(eventBitsToAdd){
  $sinkEvents(this, eventBitsToAdd);
}

function Widget(){
}

_ = Widget.prototype = new UIObject;
_.doAttachChildren = doAttachChildren;
_.doDetachChildren = doDetachChildren;
_.getClass$ = getClass_88;
_.isAttached = isAttached;
_.onAttach = onAttach;
_.onBrowserEvent = onBrowserEvent;
_.onDetach = onDetach;
_.onLoad = onLoad;
_.onUnload = onUnload;
_.removeFromParent = removeFromParent;
_.sinkEvents = sinkEvents;
_.typeId$ = 62;
_.attached = false;
_.eventsToSink = 0;
_.handlerManager = null;
_.parent_0 = null;
function $clinit_101(){
  $clinit_101 = nullMethod;
  init();
}

function $Component(this$static){
  $clinit_101();
  this$static.windowResizeDelay = ($clinit_0() , isGecko) || isSafari2?100:0;
  this$static.hideMode = ($clinit_9() , DISPLAY);
  this$static.observable = new BaseObservable;
  return this$static;
}

function $addStyleName_0(this$static, style){
  if (this$static.rendered) {
    $addStyleName(fly_1(this$static.getElement(), 'component'), initValues(_3Ljava_lang_String_2_classLit, 340, 1, [style]));
  }
   else {
    !this$static.styleNames && (this$static.styleNames = $FastSet(new FastSet));
    $put_1(this$static.styleNames.map.map, dynamicCast(style, 1), '') == null;
  }
}

function $addStyleOnOver(this$static, elem, style){
  !this$static.overElements && (this$static.overElements = $FastMap(new FastMap));
  $put_0(this$static.overElements, $getId(fly_1(elem, 'component')), style);
}

function $disable(this$static){
  this$static.rendered && this$static.onDisable();
  this$static.disabled = true;
  $fireEvent_1(this$static, ($clinit_56() , Disable));
}

function $disableTextSelection_0(this$static, disable){
  this$static.disableTextSelection = disable?1:0;
  this$static.isAttached() && $disableTextSelection(this$static.el, disable);
}

function $doAttachChildren_0(this$static){
  var a, a$iterator;
  if (this$static.attachables) {
    for (a$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.attachables); a$iterator.i < a$iterator.this$0_0.size_0();) {
      a = dynamicCast($next_4(a$iterator), 65);
      $doAttach(a);
    }
  }
}

function $doDetachChildren_0(this$static){
  var a, a$iterator;
  if (this$static.attachables) {
    for (a$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.attachables); a$iterator.i < a$iterator.this$0_0.size_0();) {
      a = dynamicCast($next_4(a$iterator), 65);
      a.el.dom_0.__listener = null;
      $disableTextSelection(a.el, false);
      $remove_5(a.preview);
    }
  }
}

function $enable(this$static){
  this$static.rendered && this$static.onEnable();
  this$static.disabled = false;
  $fireEvent_1(this$static, ($clinit_56() , Enable));
}

function $fireEvent_1(this$static, type){
  var be;
  if (this$static.disableEvents)
    return true;
  be = this$static.createComponentEvent(null);
  be.type_0 = type;
  return $fireEvent_2(this$static, type, be);
}

function $fireEvent_2(this$static, type, ce){
  if (this$static.disableEvents)
    return true;
  return $fireEvent(this$static.observable, type, ce);
}

function $focus(this$static){
  this$static.focused = true;
  this$static.rendered && $setFocus(this$static.getFocusEl(), true);
  $fireEvent_1(this$static, ($clinit_56() , Focus));
}

function $getData(this$static, key){
  if (!this$static.dataMap)
    return null;
  return this$static.dataMap.map['' + key];
}

function $getElement_0(this$static){
  if (!this$static.rendered) {
    !this$static.dummy && (this$static.dummy = ($clinit_308() , $doc).createElement('div'));
    return this$static.dummy;
  }
  return this$static.element;
}

function $getId_0(this$static){
  if (this$static.id_0 == null) {
    this$static.id_0 = ($clinit_34() , 'x-auto-' + autoId++);
    $setId_0(this$static, this$static.id_0);
    return this$static.id_0;
  }
  return this$static.id_0;
}

function $getState(this$static){
  (!this$static.stateful || !this$static.state) && (this$static.state = $FastMap(new FastMap));
  return this$static.state;
}

function $getTitle(this$static){
  if (!this$static.afterRender) {
    return this$static.title_0 == null?'':this$static.title_0;
  }
  return $getPropertyString($getElement_0(this$static), 'title');
}

function $getToolTip(this$static){
  !this$static.toolTip && !!this$static.toolTipConfig_0 && (this$static.toolTip = $ToolTip_0(new ToolTip, this$static, this$static.toolTipConfig_0));
  return this$static.toolTip;
}

function $hide_0(this$static){
  if ($fireEvent_1(this$static, ($clinit_56() , BeforeHide))) {
    this$static.hidden = true;
    if (this$static.rendered) {
      this$static.onHide();
      this$static.notifyHide();
    }
    $fireEvent_1(this$static, Hide);
  }
}

function $initState(this$static){
  var ce, sid, st;
  if (this$static.stateful) {
    sid = $getId_0(this$static);
    st = $getMap_0(($clinit_116() , sid));
    if (st) {
      this$static.state = st;
      ce = this$static.createComponentEvent(null);
      $fireEvent_2(this$static, ($clinit_56() , BeforeStateRestore), ce) && $fireEvent_2(this$static, StateRestore, ce);
    }
  }
}

function $isVisible_1(this$static, deep){
  var c, w;
  w = this$static.parent_0;
  if (w) {
    if (w != null && canCast(w.typeId$, 63)) {
      c = dynamicCast(w, 63);
      return this$static.rendered && !this$static.hidden && $isVisible_1(c, false) && $isVisible(this$static.el, deep);
    }
     else {
      return this$static.rendered && !this$static.hidden && w.isVisible() && $isVisible(this$static.el, deep);
    }
  }
   else {
    return this$static.rendered && !this$static.hidden && $isVisible(this$static.el, deep);
  }
}

function $mask_0(this$static, message, messageStyleName){
  this$static.mask = true;
  this$static.maskMessage = message;
  this$static.maskMessageStyleName = messageStyleName;
  if (this$static.rendered) {
    return $mask(this$static.el, message, messageStyleName);
  }
  return null;
}

function $onAttach_1(this$static){
  var index, parent_0, widgetIndex, parent_1;
  if (!this$static.rendered) {
    widgetIndex = $getPropertyString(this$static.dummy, '__uiObjectID');
    parent_0 = (parent_1 = ($clinit_308() , this$static.dummy).parentNode , (!parent_1 || parent_1.nodeType != 1) && (parent_1 = null) , parent_1);
    index = $getChildIndex(parent_0, this$static.dummy);
    parent_0.removeChild(this$static.dummy);
    $render(this$static, parent_0, index);
    widgetIndex != null && (this$static.getElement()['__uiObjectID'] = __parseAndValidateInt(widgetIndex, 10, -2147483648, 2147483647) , undefined);
  }
  $onAttach_0(this$static);
}

function $onBrowserEvent(this$static, event_0){
  var ce, eventTarget, eventType, style, target, type;
  if (this$static.disabled || this$static.disableEvents || this$static.disableBrowserEvents) {
    return;
  }
  type = $eventGetTypeInt(($clinit_308() , event_0).type);
  eventTarget = null;
  if (($clinit_0() , isWebKit) && this$static.focusable && type == 1) {
    !eventTarget && (eventTarget = event_0.target);
    ($equalsIgnoreCase('input', this$static.getElement().tagName) || (eventTarget['__eventBits'] == null?null:String(eventTarget['__eventBits'])) == null) && this$static.focus_0();
  }
  ce = this$static.createComponentEvent(event_0);
  ce.event_0 = event_0;
  if (!$fireEvent_2(this$static, ($clinit_56() , BrowserEvent), ce)) {
    return;
  }
  eventType = lookupBrowserEvent(type);
  ce.type_0 = eventType;
  type == (isSafari && isMac?4:8) && $isRightClick(ce);
  if (!!this$static.overElements && (type == 16 || type == 32)) {
    target = !ce.event_0?null:ce.event_0.target;
    if (target) {
      style = dynamicCast(this$static.overElements.map['' + target.id], 1);
      style != null && $setStyleName_0(fly_1(target, 'component'), style, type == 16);
    }
  }
  this$static.onComponentEvent(ce);
  $fireEvent_2(this$static, eventType, ce);
  fireNativeEvent(event_0, this$static, this$static.getElement());
}

function $onDetach_1(this$static){
  $onDetach_0(this$static);
  $onDetachHelper(this$static);
}

function $onDetachHelper(this$static){
  !!this$static.toolTip && $hide_8(this$static.toolTip);
  $clinit_0();
  ariaEnabled && $hide(get(), this$static);
  this$static.disableTextSelection > 0 && $disableTextSelection(this$static.el, false);
  if (this$static.resizeHandler) {
    $removeHandler(this$static.resizeHandler);
    this$static.resizeHandler = null;
  }
  $fireEvent_1(this$static, ($clinit_56() , Detach));
  $unregister(($clinit_153() , $clinit_153() , instance_5), this$static);
}

function $onHide(this$static){
  $addStyleName_0(this$static, this$static.hideMode.value);
  !!this$static.toolTip && $hide_8(this$static.toolTip);
  $clinit_0();
  ariaEnabled && $hide(get(), this$static);
}

function $onLoad_0(this$static){
  this$static.disableTextSelection > 0 && $disableTextSelection_0(this$static, this$static.disableTextSelection == 1);
  if (this$static.monitorWindowResize) {
    !this$static.windowResizeTask && (this$static.windowResizeTask = $DelayedTask(new DelayedTask, $Component$2(new Component$2, this$static)));
    this$static.resizeHandler = addResizeHandler($Component$3(new Component$3, this$static));
  }
  $fireEvent_1(this$static, ($clinit_56() , Attach));
  $register(($clinit_153() , $clinit_153() , instance_5), this$static);
}

function $onShow(this$static){
  $removeStyleName_2(this$static, this$static.hideMode.value);
  $clinit_0();
  ariaEnabled && $show(get(), this$static);
}

function $removeFromParent_1(this$static){
  instanceOf(this$static.parent_0, 64) && dynamicCast(this$static.parent_0, 64).remove_3(this$static);
  $removeFromParent_0(this$static);
}

function $removeStyleName_2(this$static, style){
  var s;
  this$static.rendered?$removeStyleName_1(fly_1(this$static.getElement(), 'component'), style):style != null && this$static.cls != null && !!this$static.styleNames && (s = dynamicCast($remove_3(this$static.styleNames.map.map, dynamicCast(style, 1)), 1) , s != null && $equals_4(s, ''));
}

function $removeToolTip(this$static){
  if (this$static.toolTip) {
    $initTarget_0(this$static.toolTip, null);
    this$static.toolTip = null;
    this$static.toolTipConfig_0 = null;
  }
}

function $render(this$static, target, index){
  var s, s$iterator, input, style, e;
  if (this$static.rendered || !$fireEvent_1(this$static, ($clinit_56() , BeforeRender))) {
    return;
  }
  $initState(this$static);
  $addStyleName_0(this$static, 'x-component');
  this$static.rendered = true;
  this$static.createStyles(this$static.baseStyle);
  if (!this$static.setElementRender) {
    index == -1 && (index = $getChildCount(target));
    this$static.onRender(target, index);
  }
  this$static.events != 0 && $sinkEvents_0(this$static, this$static.events);
  this$static.ariaLabelledBy != null && $setAriaLabelledBy(this$static, this$static.ariaLabelledBy);
  this$static.ariaDescribedBy != null && $setAriaDescribedBy(this$static, this$static.ariaDescribedBy);
  this$static.id_0 == null?(this$static.id_0 = $getId(this$static.el)):(this$static.getElement().id = this$static.id_0 , undefined);
  this$static.tabIndex_0 != -1 && this$static.setTabIndex(this$static.tabIndex_0);
  this$static.baseStyle != null && $addStyleName(fly_1(this$static.getElement(), 'component'), initValues(_3Ljava_lang_String_2_classLit, 340, 1, [this$static.baseStyle]));
  if (this$static.cls != null) {
    $setStyleName_2(this$static, this$static.cls);
    this$static.cls = null;
  }
  if (this$static.styleNames) {
    for (s$iterator = $keySet_1($FastMap$2(new FastMap$2, this$static.styleNames.map).this$0.map).iterator_0(); s$iterator.hasNext();) {
      s = dynamicCast(s$iterator.next_0(), 1);
      $addStyleName(fly_1(this$static.getElement(), 'component'), initValues(_3Ljava_lang_String_2_classLit, 340, 1, [s]));
    }
    this$static.styleNames = null;
  }
  this$static.title_0 != null && $setTitle_0(this$static, this$static.title_0);
  if (this$static.styles != null && !$equals_4(this$static.styles, '')) {
    $applyStyles(this$static.el, this$static.styles);
    this$static.styles = null;
  }
  this$static.ariaIgnore && (this$static.ariaIgnore = true , this$static.rendered && (this$static.getElement().setAttribute('role', 'presentation') , undefined) , undefined);
  this$static.focused && addCommand($Component$1(new Component$1, this$static));
  this$static.borders != -1 && $setBorders_0(this$static, this$static.borders == 1);
  if (this$static.focusable && ($clinit_0() , isWebKit)) {
    this$static.focusEl = $El(new El, (input = (e = ($clinit_308() , $doc).createElement('INPUT') , e.type = 'text' , e) , input.className = '_focus' , style = input.style , style['opacity'] = '0' , style['zIndex'] = '-1' , style['overflow'] = 'hidden' , style['position'] = 'absolute' , style['height'] = 0 + ($clinit_318() , 'px') , style['borderWidth'] = '0' , style['width'] = '0px' , input));
    this$static.getElement().appendChild(this$static.focusEl.dom_0);
  }
  this$static.afterRender = true;
  this$static.afterRender_0();
  this$static.hidden && this$static.hide();
  this$static.disabled && this$static.disable();
  $fireEvent_1(this$static, ($clinit_56() , Render));
}

function $saveState(this$static){
  var ce, sid;
  if (this$static.stateful && !!this$static.state) {
    ce = this$static.createComponentEvent(null);
    if ($fireEvent_2(this$static, ($clinit_56() , BeforeStateSave), ce)) {
      sid = $getId_0(this$static);
      $set_7(($clinit_116() , $clinit_116() , instance_3).provider, sid, this$static.state);
      $fireEvent_2(this$static, StateSave, ce);
    }
  }
}

function $setAriaDescribedBy(this$static, ariaDescribedBy){
  this$static.ariaDescribedBy = ariaDescribedBy;
  this$static.rendered && (this$static.getElement().setAttribute('aria-describedby', ariaDescribedBy) , undefined);
}

function $setAriaIgnore(this$static, ignore){
  this$static.ariaIgnore = ignore;
  this$static.rendered && (this$static.getElement().setAttribute('role', ignore?'presentation':'') , undefined);
}

function $setAriaLabelledBy(this$static, id){
  this$static.ariaLabelledBy = id;
  this$static.rendered && (this$static.getElement().setAttribute('aria-labelledby', this$static.ariaLabelledBy) , undefined);
}

function $setBorders_0(this$static, show){
  this$static.borders = show?1:0;
  this$static.rendered && $setBorders(fly_1(this$static.getElement(), 'component'), show);
}

function $setData(this$static, key, data){
  !this$static.dataMap && (this$static.dataMap = $FastMap(new FastMap));
  $put_0(this$static.dataMap, key, data);
}

function $setElement_0(this$static, elem){
  this$static.el = $El(new El, elem);
  this$static.element = elem;
  if (!this$static.rendered) {
    this$static.setElementRender = true;
    $render(this$static, null, -1);
  }
}

function $setElement_1(this$static, elem, parent_0, index){
  $setElement_0(this$static, elem);
  $insertChild_0(parent_0, elem, index);
}

function $setEnabled_1(this$static, enabled){
  enabled?this$static.enable():this$static.disable();
}

function $setId_0(this$static, id){
  this$static.id_0 = id;
  !!this$static.el && (this$static.getElement().id = id , undefined);
}

function $setItemId(this$static, id){
  this$static.itemId = id;
}

function $setStyleAttribute_1(this$static, attr, value){
  this$static.rendered?$setStyleAttribute(this$static.el, attr, value):(this$static.styles += attr + ':' + value + ';');
}

function $setStyleName_2(this$static, style){
  if (this$static.rendered) {
    this$static.getElement()['className'] = style;
  }
   else {
    this$static.cls = style;
    this$static.styleNames = null;
  }
}

function $setTitle_0(this$static, title){
  this$static.title_0 = title;
  this$static.rendered && (title == null || title.length == 0?(this$static.getElement().removeAttribute('title') , undefined):(this$static.getElement().setAttribute('title', title) , undefined) , undefined);
}

function $setToolTip(this$static, text){
  !this$static.toolTipConfig_0 && (this$static.toolTipConfig_0 = $ToolTipConfig(new ToolTipConfig));
  this$static.toolTipConfig_0.text = text;
  $setToolTip_0(this$static, this$static.toolTipConfig_0);
}

function $setToolTip_0(this$static, config){
  this$static.toolTipConfig_0 = config;
  config?!this$static.toolTip?(this$static.toolTip = $ToolTip_0(new ToolTip, this$static, config)):$update_2(this$static.toolTip, config):!config && $removeToolTip(this$static);
}

function $setVisible_0(this$static, visible){
  visible?this$static.show():this$static.hide();
}

function $show_0(this$static){
  if ($fireEvent_1(this$static, ($clinit_56() , BeforeShow))) {
    this$static.hidden = false;
    if (this$static.rendered) {
      this$static.onShow();
      this$static.notifyShow();
    }
    $fireEvent_1(this$static, Show);
  }
}

function $sinkEvents_0(this$static, eventBitsToAdd){
  this$static.rendered?$sinkEvents(this$static, eventBitsToAdd):(this$static.events |= eventBitsToAdd);
}

function afterRender(){
  this.mask && $mask_0(this, this.maskMessage, this.maskMessageStyleName);
}

function createComponentEvent(event_0){
  return $ComponentEvent_0(new ComponentEvent, this, event_0);
}

function createStyles(baseStyle){
}

function disable_0(){
  $disable(this);
}

function doAttachChildren_0(){
  $doAttachChildren_0(this);
}

function doDetachChildren_0(){
  $doDetachChildren_0(this);
}

function enable_0(){
  $enable(this);
}

function focus_1(){
  $focus(this);
}

function getClass_89(){
  return Lcom_extjs_gxt_ui_client_widget_Component_2_classLit;
}

function getElement_0(){
  return $getElement_0(this);
}

function getFocusEl(){
  return !this.focusEl?this.el:this.focusEl;
}

function hide(){
  $hide_0(this);
}

function isVisible_1(){
  return $isVisible_1(this, true);
}

function notifyHide(){
}

function notifyShow(){
}

function onAttach_0(){
  $onAttach_1(this);
}

function onBrowserEvent_0(event_0){
  $onBrowserEvent(this, event_0);
}

function onComponentEvent(ce){
}

function onDetach_0(){
  $onDetach_0(this);
  $onDetachHelper(this);
}

function onDisable(){
  $addStyleName_0(this, this.disabledStyle);
}

function onEnable(){
  $removeStyleName_2(this, this.disabledStyle);
  $clearOpacity(this.el);
}

function onHide(){
  $onHide(this);
}

function onLoad_0(){
  $onLoad_0(this);
}

function onRender(target, index){
}

function onShow(){
  $onShow(this);
}

function onWindowResize(width, height){
}

function removeFromParent_0(){
  $removeFromParent_1(this);
}

function setTabIndex(tabIndex){
  this.tabIndex_0 = tabIndex;
  this.rendered && (this.el.dom_0['tabIndex'] = tabIndex , null);
}

function show_0(){
  $show_0(this);
}

function sinkEvents_0(eventBitsToAdd){
  this.rendered?$sinkEvents(this, eventBitsToAdd):(this.events |= eventBitsToAdd);
}

function toString_8(){
  return this.el?($clinit_308() , this.el.dom_0).getAttribute('outerHTML') || '':$toString_3(this);
}

function Component(){
}

_ = Component.prototype = new Widget;
_.afterRender_0 = afterRender;
_.createComponentEvent = createComponentEvent;
_.createStyles = createStyles;
_.disable = disable_0;
_.doAttachChildren = doAttachChildren_0;
_.doDetachChildren = doDetachChildren_0;
_.enable = enable_0;
_.focus_0 = focus_1;
_.getClass$ = getClass_89;
_.getElement = getElement_0;
_.getFocusEl = getFocusEl;
_.hide = hide;
_.isVisible = isVisible_1;
_.notifyHide = notifyHide;
_.notifyShow = notifyShow;
_.onAttach = onAttach_0;
_.onBrowserEvent = onBrowserEvent_0;
_.onComponentEvent = onComponentEvent;
_.onDetach = onDetach_0;
_.onDisable = onDisable;
_.onEnable = onEnable;
_.onHide = onHide;
_.onLoad = onLoad_0;
_.onRender = onRender;
_.onShow = onShow;
_.onWindowResize = onWindowResize;
_.removeFromParent = removeFromParent_0;
_.setTabIndex = setTabIndex;
_.show = show_0;
_.sinkEvents = sinkEvents_0;
_.toString$ = toString_8;
_.typeId$ = 63;
_.afterRender = false;
_.ariaDescribedBy = null;
_.ariaIgnore = false;
_.ariaLabelledBy = null;
_.attachables = null;
_.baseStyle = null;
_.borders = -1;
_.cls = null;
_.dataMap = null;
_.disableBrowserEvents = false;
_.disableEvents = false;
_.disableTextSelection = -1;
_.disabled = false;
_.disabledStyle = 'x-item-disabled';
_.dummy = null;
_.el = null;
_.events = 0;
_.focusEl = null;
_.focusable = false;
_.focused = false;
_.hidden = false;
_.id_0 = null;
_.itemId = null;
_.mask = false;
_.maskMessage = null;
_.maskMessageStyleName = null;
_.monitorWindowResize = false;
_.observable = null;
_.overElements = null;
_.rendered = false;
_.resizeHandler = null;
_.setElementRender = false;
_.state = null;
_.stateful = false;
_.styleNames = null;
_.styles = '';
_.tabIndex_0 = -1;
_.title_0 = null;
_.toolTip = null;
_.toolTipConfig_0 = null;
_.windowResizeTask = null;
function $clinit_102(){
  $clinit_102 = nullMethod;
  $clinit_101();
}

function $Resizable$ResizeHandle(this$static, this$0){
  $clinit_102();
  this$static.this$0 = this$0;
  $Component(this$static);
  return this$static;
}

function getClass_90(){
  return Lcom_extjs_gxt_ui_client_fx_Resizable$ResizeHandle_2_classLit;
}

function onBrowserEvent_1(event_0){
  switch ($eventGetTypeInt(($clinit_308() , event_0).type)) {
    case 4:
      event_0.cancelBubble = true;
      event_0.preventDefault();
      $handleMouseDown(this.this$0, event_0, this);
  }
}

function onRender_0(target, index){
  $setElement_1(this, ($clinit_308() , $doc).createElement('div'), target, index);
  this.rendered?$sinkEvents(this, 124):(this.events |= 124);
}

function Resizable$ResizeHandle(){
}

_ = Resizable$ResizeHandle.prototype = new Component;
_.getClass$ = getClass_90;
_.onBrowserEvent = onBrowserEvent_1;
_.onRender = onRender_0;
_.typeId$ = 64;
_.dir = null;
_.this$0 = null;
--></script>
<script><!--
function $clinit_103(){
  $clinit_103 = nullMethod;
  IMAGE_BUNDLE_URL = $moduleBase + 'C43A8DC1E50D698B543BF589D0244ECC.cache.png';
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 606, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 306, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 290, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 274, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 258, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 242, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 226, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 210, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 194, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 178, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 162, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 146, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 130, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 114, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 98, 0, 16, 16);
  field_invalid_SINGLETON = $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 574, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 590, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 526, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 494, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 478, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 510, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 0, 0, 18, 18);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 434, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 450, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 402, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 418, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 370, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 386, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 338, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 354, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 322, 0, 16, 16);
  toolbar_more_SINGLETON = $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 466, 0, 12, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 66, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 82, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 34, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 50, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 542, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 558, 0, 16, 16);
  $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL, 18, 0, 16, 16);
}

var IMAGE_BUNDLE_URL, field_invalid_SINGLETON, toolbar_more_SINGLETON;
function $JsArray(this$static){
  this$static.jsArray = new Array;
  return this$static;
}

function getClass_91(){
  return Lcom_extjs_gxt_ui_client_js_JsArray_2_classLit;
}

function JsArray(){
}

_ = JsArray.prototype = new Object_0;
_.getClass$ = getClass_91;
_.typeId$ = 0;
_.jsArray = null;
function $JsObject(this$static){
  var x;
  this$static.jsObject = (x = eval('[{}]') , x[0]);
  return this$static;
}

function getClass_92(){
  return Lcom_extjs_gxt_ui_client_js_JsObject_2_classLit;
}

function JsObject(){
}

_ = JsObject.prototype = new Object_0;
_.getClass$ = getClass_92;
_.typeId$ = 0;
_.jsObject = null;
function toJavaScriptArray(array){
  var i, jsArray, js;
  jsArray = $JsArray(new JsArray);
  for (i = 0; i < array.length; ++i) {
    js = jsArray.jsArray;
    js[js.length] = array[i];
  }
  return jsArray.jsArray;
}

function toJavaScriptObject(params){
  var k, keys, obj, v, js, js_0, js_1, js_2, js_3, js_4, js_5, js_6;
  obj = $JsObject(new JsObject);
  keys = $keySet_1($FastMap$2(new FastMap$2, params).this$0.map).iterator_0();
  while (keys.hasNext()) {
    k = dynamicCast(keys.next_0(), 1);
    v = params.map['' + k];
    v != null && canCast(v.typeId$, 53)?(v = $getValues(dynamicCast(v, 53))):v != null && canCast(v.typeId$, 44) && (v = $getValues($Params_0(new Params, $getProperties(dynamicCast(v, 44)))));
    v != null && canCast(v.typeId$, 3)?(js = obj.jsObject , js[k] = dynamicCast(v, 3).value , undefined):v != null && canCast(v.typeId$, 34)?(js_0 = obj.jsObject , js_0[k] = toDouble(dynamicCast(v, 34).value) , undefined):v != null && canCast(v.typeId$, 33)?(js_1 = obj.jsObject , js_1[k] = dynamicCast(v, 33).value , undefined):v != null && canCast(v.typeId$, 36)?(js_2 = obj.jsObject , js_2[k] = dynamicCast(v, 36).value , undefined):v != null && canCast(v.typeId$, 51)?(js_3 = obj.jsObject , js_3[k] = dynamicCast(v, 51).value , undefined):v != null && canCast(v.typeId$, 52)?(js_4 = obj.jsObject , js_4[k] = dynamicCast(v, 52).value , undefined):v != null && canCast(v.typeId$, 30)?(js_5 = obj.jsObject , js_5[k] = dynamicCast(v, 30).value , undefined):(js_6 = obj.jsObject , js_6[k] = v , undefined);
  }
  return obj.jsObject;
}

function decode_0(jsonString){
  var v;
  v = parse(jsonString);
  if (v.isObject()) {
    return decode_1(v.isObject());
  }
   else {
    return null;
  }
}

function decode_1(jso){
  var j, key, key$iterator, map, keys;
  map = $FastMap(new FastMap);
  for (key$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, $Arrays$ArrayList(new Arrays$ArrayList, (keys = $computeKeys0(jso, initDim(_3Ljava_lang_String_2_classLit, 340, 1, 0, 0)) , $JSONObject$1(new JSONObject$1, jso, keys)).val$keys)); key$iterator.i < key$iterator.this$0_0.size_0();) {
    key = dynamicCast($next_4(key$iterator), 1);
    j = $get_6(jso, key);
    j.isObject()?$put_0(map, key, decode_1(j.isObject())):j.isArray_0()?$put_0(map, key, decodeToList(j.isArray_0())):j.isBoolean()?$put_0(map, key, ($clinit_484() , j.isBoolean().value?TRUE_0:FALSE_0)):!!j.isString() && $put_0(map, key, decodeValue(j.isString().value));
  }
  return map;
}

function decodeToList(array){
  var i, list, v;
  list = $ArrayList(new ArrayList);
  for (i = 0; i < array.jsArray.length; ++i) {
    v = $get_5(array, i);
    v.isObject()?$add_13(list, decode_1(v.isObject())):v.isArray_0()?$add_13(list, decodeToList(v.isArray_0())):v.isNull()?setCheck(list.array, list.size++, null):v.isNumber()?$add_13(list, $Double(new Double, v.isNumber().value)):v.isBoolean()?$add_13(list, ($clinit_484() , v.isBoolean().value?TRUE_0:FALSE_0)):!!v.isString() && $add_13(list, decodeValue(v.isString().value));
  }
  return list;
}

function decodeValue(value){
  var $e0, e, time, type, val, decode;
  try {
    if (value == null || value.length < 3) {
      return null;
    }
    type = value.substr(0, 2 - 0);
    val = value.substr(2, value.length - 2);
    if ($equals_4(type, 'd:')) {
      time = parseLong(val, 10);
      return $Date_1(new Date_0, time);
    }
     else if ($equals_4(type, 'i:')) {
      return valueOf_0(lowBits_0((decode = __decodeNumberString(val) , fromInt(__parseAndValidateInt(decode.payload, decode.radix, -2147483648, 2147483647)))));
    }
     else if ($equals_4(type, 'f:')) {
      return $Float_0(new Float, val);
    }
    return val;
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (instanceOf($e0, 54)) {
      e = $e0;
      $printStackTrace(e);
      return null;
    }
     else 
      throw $e0;
  }
}

function encodeList(data){
  var i, jsona, val;
  jsona = $JSONArray(new JSONArray);
  for (i = 0; i < data.size_0(); ++i) {
    val = data.get_1(i);
    val != null && canCast(val.typeId$, 44)?$set_11(jsona, i, encodeMap($getProperties(dynamicCast(val, 44)))):val != null && canCast(val.typeId$, 43)?$set_11(jsona, i, encodeMap(dynamicCast(val, 43))):val != null && canCast(val.typeId$, 42)?$set_11(jsona, i, encodeList(dynamicCast(val, 42))):val != null && canCast(val.typeId$, 1)?$set_11(jsona, i, $JSONString(new JSONString, encodeValue(val))):val != null && canCast(val.typeId$, 35)?$set_11(jsona, i, $JSONString(new JSONString, encodeValue(val))):val != null && canCast(val.typeId$, 3)?$set_11(jsona, i, getInstance(dynamicCast(val, 3).value)):val == null?$set_11(jsona, i, ($clinit_394() , $clinit_394() , instance_9)):val != null && canCast(val.typeId$, 55) && $set_11(jsona, i, $JSONString(new JSONString, encodeValue(val)));
  }
  return jsona;
}

function encodeMap(data){
  var jsobj, key, key$iterator, val;
  jsobj = $JSONObject(new JSONObject);
  for (key$iterator = data.keySet_0().iterator_0(); key$iterator.hasNext();) {
    key = dynamicCast(key$iterator.next_0(), 1);
    val = data.get_0(key);
    val != null && canCast(val.typeId$, 1)?$put_3(jsobj, key, $JSONString(new JSONString, encodeValue(val))):val != null && canCast(val.typeId$, 55)?$put_3(jsobj, key, $JSONString(new JSONString, encodeValue(val))):val != null && canCast(val.typeId$, 35)?$put_3(jsobj, key, $JSONString(new JSONString, encodeValue(val))):val != null && canCast(val.typeId$, 3)?$put_3(jsobj, key, getInstance(dynamicCast(val, 3).value)):val == null?$put_3(jsobj, key, ($clinit_394() , $clinit_394() , instance_9)):val != null && canCast(val.typeId$, 43)?$put_3(jsobj, key, encodeMap(dynamicCast(val, 43))):val != null && canCast(val.typeId$, 42)?$put_3(jsobj, key, encodeList(dynamicCast(val, 42))):val != null && canCast(val.typeId$, 44) && $put_3(jsobj, key, encodeMap($getProperties(dynamicCast(val, 44))));
  }
  return jsobj;
}

function encodeValue(value){
  if (value != null && canCast(value.typeId$, 55)) {
    return 'd:' + toString_25(fromDouble($getTime0(dynamicCast(value, 55))));
  }
   else if (value != null && canCast(value.typeId$, 33)) {
    return 'i:' + value;
  }
   else if (value != null && canCast(value.typeId$, 52)) {
    return 'f:' + value;
  }
  return 's:' + toString__devirtual$(value);
}

function $AppEvent(this$static, type){
  this$static.type_0 = type;
  return this$static;
}

function $AppEvent_0(this$static, type){
  this$static.type_0 = type;
  return this$static;
}

function $getData_0(this$static, key){
  if (!this$static.dataMap)
    return null;
  return this$static.dataMap.map['' + key];
}

function $setData_0(this$static, key, data){
  !this$static.dataMap && (this$static.dataMap = $FastMap(new FastMap));
  $put_0(this$static.dataMap, key, data);
}

function getClass_93(){
  return Lcom_extjs_gxt_ui_client_mvc_AppEvent_2_classLit;
}

function toString_9(){
  return 'Event Type: ' + this.type_0;
}

function AppEvent(){
}

_ = AppEvent.prototype = new BaseEvent;
_.getClass$ = getClass_93;
_.toString$ = toString_9;
_.typeId$ = 65;
_.dataMap = null;
_.historyEvent = false;
_.token = null;
function $canHandle(this$static, event_0){
  if (!!this$static.supportedEvents && $indexOf_4(this$static.supportedEvents, event_0.type_0, 0) != -1)
    return true;
  return false;
}

function $forwardToView(view, event_0){
  !view.initialized && (view.initialized = true);
  view.handleEvent_0(event_0);
}

function $registerEventTypes(this$static, types){
  var type, type$array, type$index, type$max;
  !this$static.supportedEvents && (this$static.supportedEvents = $ArrayList(new ArrayList));
  if (types != null) {
    for (type$array = types , type$index = 0 , type$max = type$array.length; type$index < type$max; ++type$index) {
      type = type$array[type$index];
      $indexOf_4(this$static.supportedEvents, type, 0) == -1 && $add_13(this$static.supportedEvents, type);
    }
  }
}

function getClass_94(){
  return Lcom_extjs_gxt_ui_client_mvc_Controller_2_classLit;
}

function initialize(){
}

function Controller(){
}

_ = Controller.prototype = new Object_0;
_.getClass$ = getClass_94;
_.initialize = initialize;
_.typeId$ = 66;
_.initialized = false;
_.parent_0 = null;
_.supportedEvents = null;
function $clinit_111(){
  $clinit_111 = nullMethod;
  BeforeDispatch = $EventType(new EventType);
  AfterDispatch = $EventType(new EventType);
}

function $Dispatcher(this$static){
  $clinit_111();
  this$static.controllers = $ArrayList(new ArrayList);
  this$static.history_0 = $FastMap(new FastMap);
  $supportsHistory(this$static) && addValueChangeHandler($Dispatcher$1(new Dispatcher$1, this$static));
  return this$static;
}

function $addController(this$static, controller){
  $indexOf_4(this$static.controllers, controller, 0) == -1 && $add_13(this$static.controllers, controller);
}

function $dispatch(this$static, event_0){
  $dispatch_0(this$static, event_0, event_0.historyEvent);
}

function $dispatch_0(this$static, event_0, createhistory){
  var controller, controller$iterator, copy, e, token;
  e = new MvcEvent;
  if ($fireEvent(this$static, BeforeDispatch, e)) {
    copy = $ArrayList_0(new ArrayList, this$static.controllers);
    for (controller$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, copy); controller$iterator.i < controller$iterator.this$0_0.size_0();) {
      controller = dynamicCast($next_4(controller$iterator), 56);
      if ($canHandle(controller, event_0)) {
        if (!controller.initialized) {
          controller.initialized = true;
          controller.initialize();
        }
        controller.handleEvent_0(event_0);
      }
    }
    $fireEvent(this$static, AfterDispatch, e);
  }
  if (createhistory && event_0.historyEvent) {
    token = event_0.token;
    token == null && (token = '' + toString_25(fromDouble($getTime0($Date(new Date_0)))));
    $put_0(this$static.history_0, token, event_0);
    $supportsHistory(this$static) && ($clinit_424() , !!impl && $newItem(impl, token, false) , undefined);
  }
}

function $supportsHistory(this$static){
  !this$static.supportsHistory && (this$static.supportsHistory = ($clinit_484() , !!($clinit_34() , $clinit_18() , $wnd.GXT.Ext.DomQuery.select('#__gwt_historyFrame')[0]) || !(($clinit_0() , isIE6) || isIE7)?TRUE_0:FALSE_0));
  return this$static.supportsHistory.value;
}

function forwardEvent(eventType){
  $clinit_111();
  $dispatch(get_3(), $AppEvent(new AppEvent, eventType));
}

function get_3(){
  $clinit_111();
  !instance_2 && (instance_2 = $Dispatcher(new Dispatcher));
  return instance_2;
}

function getClass_95(){
  return Lcom_extjs_gxt_ui_client_mvc_Dispatcher_2_classLit;
}

function Dispatcher(){
}

_ = Dispatcher.prototype = new BaseObservable;
_.getClass$ = getClass_95;
_.typeId$ = 0;
_.controllers = null;
_.history_0 = null;
_.supportsHistory = null;
var AfterDispatch, BeforeDispatch, instance_2 = null;
function $Dispatcher$1(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function getClass_96(){
  return Lcom_extjs_gxt_ui_client_mvc_Dispatcher$1_2_classLit;
}

function Dispatcher$1(){
}

_ = Dispatcher$1.prototype = new Object_0;
_.getClass$ = getClass_96;
_.typeId$ = 67;
_.this$0 = null;
function $fireEvent_3(this$static, event_0){
  var c;
  c = this$static.controller;
  while (c) {
    $canHandle(c, event_0) && c.handleEvent_0(event_0);
    c = c.parent_0;
  }
}

function getClass_97(){
  return Lcom_extjs_gxt_ui_client_mvc_View_2_classLit;
}

function View(){
}

_ = View.prototype = new Object_0;
_.getClass$ = getClass_97;
_.typeId$ = 0;
_.controller = null;
_.initialized = false;
function $getMap(name_0){
  var map, val, cookiesMap;
  val = (cookiesMap = ensureCookies() , dynamicCast(name_0 == null?cookiesMap.nullSlot:name_0 != null?cookiesMap.stringMap[':' + name_0]:$getHashValue(cookiesMap, name_0, ~~getHashCode_0(name_0)), 1));
  if (val == null)
    return null;
  map = dynamicCast(decode_0(val).map['state'], 43);
  return map;
}

function $set_7(this$static, name_0, value){
  var map, re;
  map = $FastMap(new FastMap);
  $put_1(map.map, 'state', value);
  $setValue_0(this$static, name_0, $toString_8(encodeMap(map)));
  re = new StateEvent;
  $fireEvent(this$static, ($clinit_56() , StateChange), re);
}

function getClass_98(){
  return Lcom_extjs_gxt_ui_client_state_Provider_2_classLit;
}

function Provider(){
}

_ = Provider.prototype = new BaseObservable;
_.getClass$ = getClass_98;
_.typeId$ = 0;
function $CookieProvider(this$static, path, expires, domain, secure){
  this$static.path = path == null?'/':path;
  this$static.secure = secure;
  this$static.domain = domain;
  !expires && (expires = $Date_1(new Date_0, add_2(fromDouble($getTime0($Date(new Date_0))), P240c8400_longLit)));
  this$static.expires = expires;
  return this$static;
}

function $setValue_0(this$static, name_0, value){
  setCookie(name_0, value, this$static.expires, this$static.domain, this$static.path, this$static.secure);
}

function getClass_99(){
  return Lcom_extjs_gxt_ui_client_state_CookieProvider_2_classLit;
}

function CookieProvider(){
}

_ = CookieProvider.prototype = new Provider;
_.getClass$ = getClass_99;
_.typeId$ = 0;
_.domain = null;
_.expires = null;
_.path = null;
_.secure = false;
function $clinit_116(){
  $clinit_116 = nullMethod;
  instance_3 = ($clinit_116() , new StateManager);
}

function $getMap_0(name_0){
  var $e0;
  try {
    return $getMap(name_0);
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (instanceOf($e0, 54)) {
      return null;
    }
     else 
      throw $e0;
  }
}

function getClass_100(){
  return Lcom_extjs_gxt_ui_client_state_StateManager_2_classLit;
}

function StateManager(){
}

_ = StateManager.prototype = new Object_0;
_.getClass$ = getClass_100;
_.typeId$ = 0;
_.provider = null;
var instance_3;
function addStyleSheet(id, url){
  var all, child, elem, href, i, idx, link, node, tag;
  link = ($clinit_308() , $doc).createElement('link');
  link['rel'] = 'stylesheet';
  link['type'] = 'text/css';
  link['id'] = id;
  link['href'] = url;
  link['disabled'] = '';
  elem = ($clinit_34() , $doc.getElementsByTagName('head')[0]);
  all = null;
  for (i = 0; i < elem.childNodes.length; ++i) {
    node = elem.childNodes[i];
    if (node) {
      child = node;
      tag = child.tagName;
      if (tag != null && $equalsIgnoreCase(child.tagName, 'link')) {
        href = child.getAttribute('href') || '';
        if (href.length != 0 && href.indexOf('gxt-all.css') != -1) {
          all = child;
          break;
        }
      }
    }
  }
  if (all) {
    idx = $getChildIndex(elem, all);
    $insertChild_0(elem, link, idx + 1);
  }
   else {
    elem.appendChild(link);
  }
}

function $ClickRepeater(this$static, el){
  var bits;
  this$static.el = el;
  this$static.preview = $ClickRepeater$1(new ClickRepeater$1, this$static);
  this$static.preview.autoHide = false;
  bits = el.dom_0.__eventBits || 0;
  $sinkEvents_1(el.dom_0, bits | 52);
  return this$static;
}

function $click(this$static){
  $fireEvent_4(this$static, ($clinit_56() , OnClick));
  $schedule(this$static.timer, this$static.accelerate?$easeOutExpo(sub_0(fromDouble($getTime0($Date(new Date_0))), fromDouble($getTime0(this$static.mousedownTime))), 400, -390, 12000):20);
}

function $doAttach(this$static){
  this$static.el.dom_0.__listener = $ClickRepeater$2(new ClickRepeater$2, this$static);
  $disableTextSelection(this$static.el, true);
  $add_1(this$static.preview);
}

function $easeOutExpo(t, b, c, d){
  return round_int(eq(t, fromInt(d))?b + c:c * (-Math.pow(2, toDouble(div_3(mul(Na_longLit, t), fromInt(d)))) + 1) + b);
}

function $fireEvent_4(this$static, eventType){
  return $fireEvent(this$static, eventType, $ClickRepeaterEvent(new ClickRepeaterEvent, this$static.el));
}

function $handleMouseDown_0(this$static){
  !this$static.timer && (this$static.timer = $ClickRepeater$3(new ClickRepeater$3, this$static));
  $cancel(this$static.timer);
  $setFocus(this$static.el, false);
  this$static.mousedownTime = $Date(new Date_0);
  this$static.waitForMouseOut = true;
  $fireEvent_4(this$static, ($clinit_56() , OnMouseDown));
  $fireEvent_4(this$static, OnClick);
  this$static.accelerate && (this$static.delay = 400);
  $schedule(this$static.timer, this$static.delay);
}

function $handleMouseOut(this$static){
  if (this$static.waitForMouseOut) {
    $cancel(this$static.timer);
    this$static.waitForMouseOver = true;
  }
}

function $handleMouseReturn(this$static){
  if (this$static.waitForMouseOver) {
    this$static.waitForMouseOver = false;
    $fireEvent_4(this$static, ($clinit_56() , OnClick));
    $schedule(this$static.timer, this$static.accelerate?$easeOutExpo(sub_0(fromDouble($getTime0($Date(new Date_0))), fromDouble($getTime0(this$static.mousedownTime))), 400, -390, 12000):20);
  }
}

function $handleMouseUp_0(this$static){
  if (this$static.waitForMouseOut) {
    $cancel(this$static.timer);
    this$static.waitForMouseOut = false;
    this$static.waitForMouseOver = false;
    $removeStyleName_1(this$static.el, this$static.pressClass);
    $fireEvent_4(this$static, ($clinit_56() , OnMouseUp));
  }
}

function getClass_101(){
  return Lcom_extjs_gxt_ui_client_util_ClickRepeater_2_classLit;
}

function ClickRepeater(){
}

_ = ClickRepeater.prototype = new BaseObservable;
_.getClass$ = getClass_101;
_.typeId$ = 68;
_.accelerate = false;
_.delay = 250;
_.el = null;
_.mousedownTime = null;
_.pressClass = null;
_.preview = null;
_.timer = null;
_.waitForMouseOut = false;
_.waitForMouseOver = false;
function $ClickRepeater$1(this$static, this$0){
  this$static.this$0 = this$0;
  this$static.ignoreList = $CompositeElement(new CompositeElement);
  return this$static;
}

function getClass_102(){
  return Lcom_extjs_gxt_ui_client_util_ClickRepeater$1_2_classLit;
}

function onPreview_2(pe){
  (!pe.event_0?-1:$eventGetTypeInt(($clinit_308() , pe.event_0).type)) == 8 && $handleMouseUp_0(this.this$0);
  return true;
}

function ClickRepeater$1(){
}

_ = ClickRepeater$1.prototype = new BaseEventPreview;
_.getClass$ = getClass_102;
_.onPreview = onPreview_2;
_.typeId$ = 69;
_.this$0 = null;
function $ClickRepeater$2(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function getClass_103(){
  return Lcom_extjs_gxt_ui_client_util_ClickRepeater$2_2_classLit;
}

function onBrowserEvent_2(event_0){
  switch ($eventGetTypeInt(($clinit_308() , event_0).type)) {
    case 4:
      $handleMouseDown_0(this.this$0);
      break;
    case 32:
      $handleMouseOut(this.this$0);
      break;
    case 16:
      $handleMouseReturn(this.this$0);
  }
}

function ClickRepeater$2(){
}

_ = ClickRepeater$2.prototype = new Object_0;
_.getClass$ = getClass_103;
_.onBrowserEvent = onBrowserEvent_2;
_.typeId$ = 70;
_.this$0 = null;
function $clinit_121(){
  $clinit_121 = nullMethod;
  $clinit_1();
}

function $ClickRepeater$3(this$static, this$0){
  $clinit_121();
  this$static.this$0 = this$0;
  return this$static;
}

function getClass_104(){
  return Lcom_extjs_gxt_ui_client_util_ClickRepeater$3_2_classLit;
}

function run_1(){
  $click(this.this$0);
}

function ClickRepeater$3(){
}

_ = ClickRepeater$3.prototype = new Timer;
_.getClass$ = getClass_104;
_.run = run_1;
_.typeId$ = 71;
_.this$0 = null;
function $DateWrapper(this$static){
  $DateWrapper_0(this$static, $Date_1(new Date_0, fromDouble((new Date).getTime())));
  return this$static;
}

function $DateWrapper_0(this$static, date){
  this$static.date = date;
  return this$static;
}

function $DateWrapper_1(this$static, year, month, day){
  $DateWrapper_0(this$static, $Date_0(new Date_0, year - 1900, month, day));
  return this$static;
}

function $DateWrapper_2(this$static, time){
  $DateWrapper_0(this$static, $Date_1(new Date_0, time));
  return this$static;
}

function $add_3(this$static, unit, quantity){
  var d;
  d = null;
  switch (unit.ordinal) {
    case 2:
      return $DateWrapper_2(new DateWrapper, add_2(fromDouble($getTime0(this$static.date)), fromInt(quantity)));
    case 5:
      d = $Date_1(new Date_0, fromDouble($getTime0(this$static.date)));
      d.setSeconds_0((d.checkJsDate() , d.jsdate.getSeconds()) + quantity);
      return $DateWrapper_0(new DateWrapper, d);
    case 3:
      d = $Date_1(new Date_0, fromDouble($getTime0(this$static.date)));
      d.setMinutes_0((d.checkJsDate() , d.jsdate.getMinutes()) + quantity);
      return $DateWrapper_0(new DateWrapper, d);
    case 1:
      d = $Date_1(new Date_0, fromDouble($getTime0(this$static.date)));
      d.setHours_0((d.checkJsDate() , d.jsdate.getHours()) + quantity);
      return $DateWrapper_0(new DateWrapper, d);
    case 0:
      d = $Date_1(new Date_0, fromDouble($getTime0(this$static.date)));
      d.setHours_0((d.checkJsDate() , d.jsdate.getHours()) + quantity * 24);
      return $DateWrapper_0(new DateWrapper, d);
    case 4:
      d = $Date_1(new Date_0, fromDouble($getTime0(this$static.date)));
      d.setMonth_0((d.checkJsDate() , d.jsdate.getMonth()) + quantity);
      return $DateWrapper_0(new DateWrapper, d);
    case 6:
      d = $Date_1(new Date_0, fromDouble($getTime0(this$static.date)));
      d.setYear((d.checkJsDate() , d.jsdate.getFullYear() - 1900) + quantity);
      return $DateWrapper_0(new DateWrapper, d);
  }
  return null;
}

function $clearTime(this$static){
  return $DateWrapper_1(new DateWrapper, $getYear(this$static.date) + 1900, $getMonth(this$static.date), $getDate(this$static.date));
}

function $getDaysInMonth(this$static){
  switch ($getMonth(this$static.date)) {
    case 1:
      return ($getYear(this$static.date) + 1900) % 4 == 0 && ($getYear(this$static.date) + 1900) % 100 != 0 || ($getYear(this$static.date) + 1900) % 400 == 0?29:28;
    case 3:
    case 5:
    case 8:
    case 10:
      return 30;
    default:return 31;
  }
}

function format_0(date, format){
  var d;
  d = fromDouble($Float(new Float, date).value);
  return $format($DateTimeFormat_0(new DateTimeFormat, format, $getDateTimeConstants(($clinit_376() , $clinit_376() , instance_8))), $Date_1(new Date_0, d));
}

function getClass_105(){
  return Lcom_extjs_gxt_ui_client_util_DateWrapper_2_classLit;
}

function toString_10(){
  return $toString_7($Date_1(new Date_0, fromDouble($getTime0(this.date))));
}

function DateWrapper(){
}

_ = DateWrapper.prototype = new Object_0;
_.getClass$ = getClass_105;
_.toString$ = toString_10;
_.typeId$ = 0;
_.date = null;
function $clinit_123(){
  $clinit_123 = nullMethod;
  DAY = $DateWrapper$Unit(new DateWrapper$Unit, 'DAY', 0);
  HOUR = $DateWrapper$Unit(new DateWrapper$Unit, 'HOUR', 1);
  MILLI = $DateWrapper$Unit(new DateWrapper$Unit, 'MILLI', 2);
  MINUTE = $DateWrapper$Unit(new DateWrapper$Unit, 'MINUTE', 3);
  MONTH = $DateWrapper$Unit(new DateWrapper$Unit, 'MONTH', 4);
  SECOND = $DateWrapper$Unit(new DateWrapper$Unit, 'SECOND', 5);
  YEAR = $DateWrapper$Unit(new DateWrapper$Unit, 'YEAR', 6);
}

function $DateWrapper$Unit(this$static, enum$name, enum$ordinal){
  $clinit_123();
  this$static.name_0 = enum$name;
  this$static.ordinal = enum$ordinal;
  return this$static;
}

function getClass_106(){
  return Lcom_extjs_gxt_ui_client_util_DateWrapper$Unit_2_classLit;
}

function values_11(){
  $clinit_123();
  return initValues(_3Lcom_extjs_gxt_ui_client_util_DateWrapper$Unit_2_classLit, 315, 16, [DAY, HOUR, MILLI, MINUTE, MONTH, SECOND, YEAR]);
}

function DateWrapper$Unit(){
}

_ = DateWrapper$Unit.prototype = new Enum;
_.getClass$ = getClass_106;
_.typeId$ = 72;
var DAY, HOUR, MILLI, MINUTE, MONTH, SECOND, YEAR;
function $DelayedTask(this$static, listener){
  this$static.listener = listener;
  this$static.timer = $DelayedTask$1(new DelayedTask$1, this$static);
  return this$static;
}

function $delay(this$static, delay){
  $cancel(this$static.timer);
  delay > 0?$schedule(this$static.timer, delay):this$static.timer.this$0.listener.handleEvent(null);
}

function getClass_107(){
  return Lcom_extjs_gxt_ui_client_util_DelayedTask_2_classLit;
}

function DelayedTask(){
}

_ = DelayedTask.prototype = new Object_0;
_.getClass$ = getClass_107;
_.typeId$ = 0;
_.listener = null;
_.timer = null;
function $clinit_125(){
  $clinit_125 = nullMethod;
  $clinit_1();
}

function $DelayedTask$1(this$static, this$0){
  $clinit_125();
  this$static.this$0 = this$0;
  return this$static;
}

function getClass_108(){
  return Lcom_extjs_gxt_ui_client_util_DelayedTask$1_2_classLit;
}

function run_2(){
  this.this$0.listener.handleEvent(null);
}

function DelayedTask$1(){
}

_ = DelayedTask$1.prototype = new Timer;
_.getClass$ = getClass_108;
_.run = run_2;
_.typeId$ = 73;
_.this$0 = null;
function camelize(s){
  return s.match(/\-/gi)?s.toLowerCase().replace(/\-(\w)/gi, function(a, c){
    return c.toUpperCase();
  }
  ):s;
}

function htmlEncode(value){
  var regex, replacement;
  return value == null?value:$replace_0($replace_0($replace_0((regex = $replaceAll('&', '([/\\\\\\.\\*\\+\\?\\|\\(\\)\\[\\]\\{\\}$^])', '\\\\$1') , replacement = $replaceAll($replaceAll('&amp;', '\\\\', '\\\\\\\\'), '\\$', '\\\\$') , $replaceAll(value, regex, replacement)), '>', '&gt;'), '<', '&lt;'), '"', '&quot;');
}

function safeRegexReplacement(replacement){
  if (replacement == null) {
    return replacement;
  }
  return $replaceAll($replaceAll(replacement, '\\\\', '\\\\\\\\'), '\\$', '\\\\\\$');
}

function substitute(text, params){
  var i, p;
  for (i = 0; i < params.length; ++i) {
    p = params[i];
    p == null && (p = '');
    text = $replaceAll(text, '\\{' + i + '}', safeRegexReplacement(toString__devirtual$(p)));
  }
  return text;
}

--></script>
<script><!--
function createStyle(styleName, width, height){
  var url;
  if (!cacheMap) {
    el_0 = $El(new El, ($clinit_308() , $doc).createElement('div'));
    ($clinit_34() , $doc.body || $doc.documentElement).appendChild(el_0.dom_0);
    $makePositionable(el_0, true);
    $setLeftTop(el_0, -10000, -10000);
    el_0.setVisibility(false);
    cacheMap = $FastMap(new FastMap);
  }
  url = dynamicCast(cacheMap.map['' + styleName], 1);
  if (url == null) {
    $addStyleName(el_0, initValues(_3Ljava_lang_String_2_classLit, 340, 1, [styleName]));
    url = $replace_0($replace_0($replace_0($replace_0(dynamicCast($getStyleAttribute_1(computedStyle, el_0.dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['backgroundImage']))).map['backgroundImage'], 1), '")', ''), ')', ''), 'url("', ''), 'url(', '');
    $removeStyleName_1(el_0, styleName);
    if ($equals_4('none', url)) {
      return null;
    }
    $put_0(cacheMap, styleName, url);
  }
  return $ClippedImagePrototype(new ClippedImagePrototype, url, 0, 0, width, height);
}

var cacheMap = null, el_0 = null;
function $clinit_128(){
  $clinit_128 = nullMethod;
  ($clinit_0() , isIE_0) || isWebKit || isGecko?(keyEvent = ($clinit_56() , OnKeyDown)):(keyEvent = ($clinit_56() , OnKeyPress));
}

function $bind(this$static, target){
  !!this$static.component && ($removeListener(this$static.component.observable, keyEvent, this$static) , undefined);
  if (target) {
    $addListener(target.observable, keyEvent, this$static);
    $sinkEvents_0(target, keyEvent.eventCode);
  }
  this$static.component = target;
}

function $handleEvent_5(this$static, ce){
  var code, e;
  if (ce.type_0 == keyEvent) {
    if (this$static.component.getElement() != ($clinit_308() , ce.event_0).currentTarget) {
      return;
    }
    this$static.cancelBubble_0 && (!!ce.event_0 && (ce.event_0.cancelBubble = true , undefined) , undefined);
    this$static.preventDefault_0 && $preventDefault(ce);
    code = !ce.event_0?-1:$eventGetKeyCode(ce.event_0);
    e = ce;
    this$static.onKeyPress(e);
    switch (code) {
      case 40:
        this$static.onDown(e);
        break;
      case 13:
        this$static.onEnter(e);
        break;
      case 27:
        this$static.onEsc(e);
        break;
      case 37:
        this$static.onLeft(e);
        break;
      case 39:
        this$static.onRight(e);
        break;
      case 38:
        this$static.onUp(e);
    }
    $fireEvent(this$static, $EventType_0(new EventType, code), e);
  }
}

function getClass_109(){
  return Lcom_extjs_gxt_ui_client_util_KeyNav_2_classLit;
}

function handleEvent_5(p0){
  $handleEvent_5(this, dynamicCast(p0, 48));
}

function onDown(ce){
}

function onEnter(ce){
}

function onEsc(ce){
}

function onKeyPress(ce){
}

function onLeft(ce){
}

function onRight(ce){
}

function onUp(ce){
}

function KeyNav(){
}

_ = KeyNav.prototype = new BaseObservable;
_.getClass$ = getClass_109;
_.handleEvent = handleEvent_5;
_.onDown = onDown;
_.onEnter = onEnter;
_.onEsc = onEsc;
_.onKeyPress = onKeyPress;
_.onLeft = onLeft;
_.onRight = onRight;
_.onUp = onUp;
_.typeId$ = 74;
_.cancelBubble_0 = false;
_.component = null;
_.preventDefault_0 = false;
var keyEvent = null;
function getClass_110(){
  return Lcom_extjs_gxt_ui_client_util_Region_2_classLit;
}

function Region(){
}

_ = Region.prototype = new Object_0;
_.getClass$ = getClass_110;
_.typeId$ = 0;
_.bottom = 0;
_.left_0 = 0;
_.right = 0;
_.top_0 = 0;
function $Margins(this$static){
  this$static.top_0 = 0;
  this$static.right = 0;
  this$static.bottom = 0;
  this$static.left_0 = 0;
  return this$static;
}

function getClass_111(){
  return Lcom_extjs_gxt_ui_client_util_Margins_2_classLit;
}

function Margins(){
}

_ = Margins.prototype = new Region;
_.getClass$ = getClass_111;
_.typeId$ = 0;
function $clinit_131(){
  $clinit_131 = nullMethod;
  var sb;
  sb = $StringBuffer(new StringBuffer);
  sb.impl.string += '<div class={0}-tl><div class={0}-tr><div class={0}-tc><\/div><\/div><\/div>';
  sb.impl.string += '<div class={0}-ml><div class={0}-mr><div class={0}-mc><\/div><\/div><\/div>';
  sb.impl.string += '<div class={0}-bl><div class={0}-br><div class={0}-bc><\/div><\/div><\/div>';
  BBOX = sb.impl.string;
  sb = $StringBuffer(new StringBuffer);
  sb.impl.string += '<div><table class={0} cellpadding=0 cellspacing=0><tbody>';
  sb.impl.string += '<tr><td class={0}-ml><div><\/div><\/td><td class={0}-mc><\/td><td class={0}-mr><div><\/div><\/td><\/tr>';
  sb.impl.string += '<tr><td class={0}-bl><div><\/div><\/td><td class={0}-bc><\/td><td class={0}-br><div><\/div><\/td><\/tr>';
  sb.impl.string += '<\/tbody><\/table><\/div>';
  sb = $StringBuffer(new StringBuffer);
  sb.impl.string += '<table class={0} cellpadding=0 cellspacing=0><tbody>';
  sb.impl.string += '<tr class={0}-trow><td class={0}-tl><div>&nbsp;<\/div><\/td><td class={0}-tc><\/td><td class={0}-tr><div>&nbsp;<\/div><\/td><\/tr>';
  sb.impl.string += '<tr><td class={0}-ml><\/td><td class={0}-mc><\/td><td class={0}-mr><\/td><\/tr>';
  sb.impl.string += '<tr class={0}-brow><td class={0}-bl><\/td><td class={0}-bc><\/td><td class={0}-br><\/td><\/tr>';
  sb.impl.string += '<\/tr><\/tbody><\/table>';
  sb = $StringBuffer(new StringBuffer);
  sb.impl.string += '<div class=x-shadow><div class=xst><div class=xstl><\/div><div class=xstc><\/div><div class=xstr><\/div><\/div><div class=xsc><div class=xsml><\/div><div class=xsmc><\/div><div class=xsmr><\/div><\/div><div class=xsb><div class=xsbl><\/div><div class=xsbc><\/div><div class=xsbr><\/div><\/div><\/div>';
  SHADOW = sb.impl.string;
  sb = $StringBuffer(new StringBuffer);
  sb.impl.string += "<div class=my-treetbl-item><table cellpadding=0 cellspacing=0 style='table-layout: fixed;'><tbody><tr>";
  sb.impl.string += '<td class=my-treetbl-cell index=0><div class=my-treetbl-cell-overflow><div class=my-treetbl-cell-text>';
  sb.impl.string += '<table cellpadding=0 cellspacing=0>';
  sb.impl.string += '<tbody><tr><td><div class=my-treetbl-indent><\/div><\/td>';
  sb.impl.string += '<td class=my-treetbl-joint align=center valign=middle><div>&nbsp;<\/div><\/td>';
  sb.impl.string += '<td class=my-treetbl-left><div><\/div><\/td>';
  sb.impl.string += '<td class=my-treetbl-check><div class=my-treetbl-notchecked><\/div><\/td>';
  sb.impl.string += '<td class=my-treetbl-icon><div>&nbsp;<\/div><\/td>';
  sb.impl.string += '<td class=my-treetbl-item-text><span>{0}<\/span><\/td>';
  sb.impl.string += '<td class=my-treetbl-right><div><\/div><\/td><\/tr><\/tbody><\/table><\/div><\/div><\/td><\/tr><\/tbody><\/table><\/div>';
  sb.impl.string += "<div class=my-treetbl-ct style='display: none'><\/div>";
}

var BBOX = null, SHADOW = null;
function $Params(this$static, values){
  var i;
  for (i = 0; i < values.length; ++i) {
    !this$static.values && (this$static.values = $ArrayList(new ArrayList));
    $add_13(this$static.values, values[i]);
  }
  return this$static;
}

function $Params_0(this$static, values){
  this$static.mapValues = values;
  return this$static;
}

function $add_4(this$static, value){
  !this$static.values && (this$static.values = $ArrayList(new ArrayList));
  $add_13(this$static.values, value);
  return this$static;
}

function $getValues(this$static){
  if (this$static.values) {
    return toJavaScriptArray($toArray_0(this$static.values));
  }
   else if (this$static.mapValues) {
    return toJavaScriptObject(this$static.mapValues);
  }
  return $JsObject(new JsObject).jsObject;
}

function getClass_112(){
  return Lcom_extjs_gxt_ui_client_util_Params_2_classLit;
}

function Params(){
}

_ = Params.prototype = new Object_0;
_.getClass$ = getClass_112;
_.typeId$ = 75;
_.mapValues = null;
_.values = null;
function $Point(this$static, x, y){
  this$static.x = x;
  this$static.y = y;
  return this$static;
}

function equals_7(obj){
  var p;
  if (obj != null && canCast(obj.typeId$, 58)) {
    p = dynamicCast(obj, 58);
    if (this.x == p.x && this.y == p.y) {
      return true;
    }
    return false;
  }
  return this === (obj == null?null:obj);
}

function getClass_113(){
  return Lcom_extjs_gxt_ui_client_util_Point_2_classLit;
}

function toString_11(){
  return 'x: ' + this.x + ', y: ' + this.y;
}

function Point(){
}

_ = Point.prototype = new Object_0;
_.equals$ = equals_7;
_.getClass$ = getClass_113;
_.toString$ = toString_11;
_.typeId$ = 76;
_.x = 0;
_.y = 0;
function $Rectangle(this$static, x, y, width, height){
  this$static.x = x;
  this$static.y = y;
  this$static.width = width;
  this$static.height = height;
  return this$static;
}

function $contains(this$static, x, y){
  return x >= this$static.x && y >= this$static.y && x - this$static.x < this$static.width && y - this$static.y < this$static.height;
}

function $contains_0(this$static, p){
  return $contains(this$static, p.x, p.y);
}

function getClass_114(){
  return Lcom_extjs_gxt_ui_client_util_Rectangle_2_classLit;
}

function toString_12(){
  return 'left: ' + this.x + ' top: ' + this.y + ' width: ' + this.width + ' height: ' + this.height;
}

function Rectangle(){
}

_ = Rectangle.prototype = new Object_0;
_.getClass$ = getClass_114;
_.toString$ = toString_12;
_.typeId$ = 0;
_.height = 0;
_.width = 0;
_.x = 0;
_.y = 0;
function $Scroll(this$static, scrollLeft, scrollTop){
  this$static.scrollLeft_0 = scrollLeft;
  this$static.scrollTop_0 = scrollTop;
  return this$static;
}

function getClass_115(){
  return Lcom_extjs_gxt_ui_client_util_Scroll_2_classLit;
}

function Scroll_0(){
}

_ = Scroll_0.prototype = new Object_0;
_.getClass$ = getClass_115;
_.typeId$ = 0;
_.scrollLeft_0 = 0;
_.scrollTop_0 = 0;
function $Size(this$static, width, height){
  this$static.width = width;
  this$static.height = height;
  return this$static;
}

function $equals_3(this$static, obj){
  var s;
  if (obj != null && canCast(obj.typeId$, 59)) {
    s = dynamicCast(obj, 59);
    if (this$static.width == s.width && this$static.height == s.height) {
      return true;
    }
    return false;
  }
  return (this$static == null?null:this$static) === (obj == null?null:obj);
}

function equals_8(obj){
  return $equals_3(this, obj);
}

function getClass_116(){
  return Lcom_extjs_gxt_ui_client_util_Size_2_classLit;
}

function toString_13(){
  return 'height: ' + this.height + ', width: ' + this.width;
}

function Size(){
}

_ = Size.prototype = new Object_0;
_.equals$ = equals_8;
_.getClass$ = getClass_116;
_.toString$ = toString_13;
_.typeId$ = 77;
_.height = 0;
_.width = 0;
function $TextMetrics(this$static){
  this$static.el = $El(new El, ($clinit_308() , $doc).createElement('div'));
  ($clinit_34() , $doc.body || $doc.documentElement).appendChild(this$static.el.dom_0);
  $makePositionable(this$static.el, true);
  $setLeftTop(this$static.el, -10000, -10000);
  this$static.el.setVisibility(false);
  return this$static;
}

function $bind_0(this$static, el){
  var key, key$iterator, l, map;
  $addStyleName(el, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-repaint']));
  $removeStyleName_1(el, 'x-repaint');
  l = $ArrayList(new ArrayList);
  setCheck(l.array, l.size++, 'fontSize');
  setCheck(l.array, l.size++, 'fontWeight');
  setCheck(l.array, l.size++, 'fontStyle');
  setCheck(l.array, l.size++, 'fontFamily');
  setCheck(l.array, l.size++, 'lineHeight');
  setCheck(l.array, l.size++, 'textTransform');
  setCheck(l.array, l.size++, 'letterSpacing');
  map = $getStyleAttribute_1(($clinit_19() , computedStyle), el.dom_0, l);
  for (key$iterator = $keySet_1($FastMap$2(new FastMap$2, map).this$0.map).iterator_0(); key$iterator.hasNext();) {
    key = dynamicCast(key$iterator.next_0(), 1);
    $setStyleAttribute(this$static.el, key, map.map['' + key]);
  }
}

function $getSize_0(this$static, text){
  var size;
  $update(this$static.el, text);
  size = $getSize(this$static.el, false);
  $update(this$static.el, '');
  return size;
}

function $getWidth_0(this$static, text){
  $setStyleAttribute(this$static.el, 'width', 'auto');
  return $getSize_0(this$static, text).width;
}

function get_4(){
  !instance_4 && (instance_4 = $TextMetrics(new TextMetrics));
  return instance_4;
}

function getClass_117(){
  return Lcom_extjs_gxt_ui_client_util_TextMetrics_2_classLit;
}

function TextMetrics(){
}

_ = TextMetrics.prototype = new Object_0;
_.getClass$ = getClass_117;
_.typeId$ = 0;
_.el = null;
var instance_4 = null;
function constrain(value, min, max){
  value = value > min?value:min;
  value = value < max?value:max;
  return value;
}

function equalWithNull(obj1, obj2){
  if ((obj1 == null?null:obj1) === (obj2 == null?null:obj2)) {
    return true;
  }
   else if (obj1 == null) {
    return false;
  }
   else {
    return equals__devirtual$(obj1, obj2);
  }
}

function fill(list, elements){
  var i;
  for (i = 0; i < elements.length; ++i) {
    setCheck(list.array, list.size++, elements[i]);
  }
}

function isEmptyString(string){
  return string == null || $equals_4('', string);
}

function toElementArray(nodes){
  var e, i;
  e = initDim(_3Lcom_google_gwt_core_client_JavaScriptObject_2_classLit, 320, -1, nodes.length, 0);
  for (i = 0; i < nodes.length; ++i) {
    setCheck(e, i, nodes[i]);
  }
  return e;
}

function $clinit_139(){
  $clinit_139 = nullMethod;
  $clinit_101();
}

function $BoxComponent(this$static){
  $clinit_139();
  $Component(this$static);
  this$static.shadowPosition = ($clinit_176() , SIDES);
  return this$static;
}

function $afterRender_0(this$static){
  this$static.mask && $mask_0(this$static, this$static.maskMessage, this$static.maskMessageStyleName);
  this$static.boxReady = true;
  if (this$static.shadow || this$static.shim && ($clinit_0() , useShims)) {
    this$static.layer = $Layer_0(new Layer, this$static.getElement());
    if (this$static.shadow) {
      this$static.layer.shadowEnabled = true;
      $setShadowPosition(this$static.layer, this$static.shadowPosition);
      $setShadowOffset(this$static.layer, 4);
    }
    this$static.shim && ($clinit_0() , useShims) && (this$static.layer.shimEnabled = true);
    this$static.el = this$static.layer;
  }
  (this$static.width != null || this$static.height != null) && $setSize_2(this$static, this$static.width, this$static.height);
  (this$static.left_0 != -1 || this$static.top_0 != -1) && this$static.setPosition(this$static.left_0, this$static.top_0);
  (this$static.pageX != -1 || this$static.pageY != -1) && this$static.setPagePosition(this$static.pageX, this$static.pageY);
}

function $getPosition(this$static, local){
  if (local) {
    return $Point(new Point, $getLeft(this$static.el, true), $getTop(this$static.el, true));
  }
  return $getXY(this$static.el);
}

function $makeVisible(this$static){
  var b, list, p, a, cls, parent_0;
  if (this$static.ensureVisibilityOnSizing) {
    list = $ArrayList(new ArrayList);
    p = this$static.getElement();
    while (!!p && p != ($clinit_34() , $doc.body || $doc.documentElement)) {
      if (a = dynamicCast($getStyleAttribute_1(computedStyle, fly_1(p, 'component').dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['display']))).map['display'], 1) , a != null && $equals_4(a, 'none')) {
        b = new BaseModelData;
        $set(b, 'element', p);
        $set(b, 'origd', p.style['display']);
        $set(b, 'hasxhideoffset', ($clinit_484() , (cls = fly_1(p, 'component').dom_0.className , (' ' + cls + ' ').indexOf(' x-hide-offset ') != -1)?TRUE_0:FALSE_0));
        !dynamicCast($get_1(b, 'hasxhideoffset'), 3).value && $addStyleName(fly_1(p, 'component'), initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-hide-offset']));
        p.style['display'] = 'block';
        setCheck(list.array, list.size++, b);
      }
      p = (parent_0 = ($clinit_308() , p).parentNode , (!parent_0 || parent_0.nodeType != 1) && (parent_0 = null) , parent_0);
    }
    return list;
  }
  return null;
}

function $onUnload_0(this$static){
  !this$static.hidden && (!!this$static.layer && $hideUnders_0(this$static.layer) , undefined);
}

function $restoreVisible(this$static, list){
  var e, m, m$iterator;
  if (this$static.ensureVisibilityOnSizing && !!list) {
    for (m$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, list); m$iterator.i < m$iterator.this$0_0.size_0();) {
      m = dynamicCast($next_4(m$iterator), 44);
      e = dynamicCastJso($get_1(m, 'element'));
      e.style['display'] = dynamicCast($get_1(m, 'origd'), 1);
      !dynamicCast($get_1(m, 'hasxhideoffset'), 3).value && $removeStyleName_1(fly_1(e, 'component'), 'x-hide-offset');
    }
  }
}

function $setBounds_1(this$static, x, y, width, height){
  $setPagePosition_0(this$static, x, y);
  this$static.positioned = true;
  $setSize_1(this$static, width, height);
}

function $setBounds_2(this$static, bounds){
  $setBounds_1(this$static, bounds.x, bounds.y, bounds.width, bounds.height);
}

function $setPagePosition_0(this$static, x, y){
  var p;
  x != -1 && (this$static.pageX = x);
  y != -1 && (this$static.pageY = y);
  if (!this$static.boxReady) {
    return;
  }
  p = $translatePoints(this$static.el, $Point(new Point, x, y));
  this$static.setPosition(p.x, p.y);
}

function $setPagePosition_1(this$static, point){
  $setPagePosition_2(this$static, point.x, point.y);
}

function $setPosition(this$static, left, top_0){
  var ax, ay, be, p, pel;
  this$static.left_0 = left;
  this$static.top_0 = top_0;
  if (!this$static.boxReady) {
    return;
  }
  p = $Point(new Point, left, top_0);
  p = p;
  ax = p.x;
  ay = p.y;
  pel = this$static.el;
  if (ax != -1 || ay != -1) {
    if (ax != -1 && ay != -1) {
      pel.setLeft(ax);
      pel.setTop(ay);
    }
     else 
      ax != -1?pel.setLeft(ax):ay != -1 && pel.setTop(ay);
    $clinit_0();
    ariaEnabled && $sync(get(), this$static);
    be = dynamicCast(this$static.createComponentEvent(null), 60);
    $fireEvent_2(this$static, ($clinit_56() , Move), be);
  }
}

function $setSize_1(this$static, width, height){
  var ads, ah, aw, ce, list, size;
  if (!this$static.boxReady) {
    width != -1 && (this$static.width = width + 'px');
    height != -1 && (this$static.height = height + 'px');
    return;
  }
  size = $Size(new Size, width, height);
  if (!!this$static.lastSize && $equals_3(this$static.lastSize, size)) {
    return;
  }
  list = $makeVisible(this$static);
  this$static.lastSize = size;
  ads = size;
  aw = ads.width;
  ah = ads.height;
  this$static.autoWidth && (this$static.rendered?$setStyleAttribute(this$static.el, 'width', 'auto'):(this$static.styles += 'width:auto;') , undefined);
  this$static.autoHeight && (this$static.rendered?$setStyleAttribute(this$static.el, 'height', 'auto'):(this$static.styles += 'height:auto;') , undefined);
  !this$static.autoWidth && !this$static.autoHeight && !this$static.deferHeight?$setSize_0(this$static.el, aw, ah, true):this$static.autoWidth?!this$static.autoHeight && !this$static.deferHeight && this$static.el.setHeight(ah, true):this$static.el.setWidth(aw, true);
  this$static.onResize(aw, ah);
  !!this$static.layer && $sync_1(this$static.layer, true);
  $clinit_0();
  ariaEnabled && $sync(get(), this$static);
  $restoreVisible(this$static, list);
  ce = dynamicCast(this$static.createComponentEvent(null), 60);
  $fireEvent_2(this$static, ($clinit_56() , Resize), ce);
}

function $setSize_2(this$static, width, height){
  var evt, h, list, size, w;
  if (!this$static.boxReady) {
    width != null && !$equals_4(width, 'undefined') && (this$static.width = width);
    height != null && !$equals_4(height, 'undefined') && (this$static.height = height);
    return;
  }
  width == null && (width = 'undefined');
  height == null && (height = 'undefined');
  !$equals_4(width, 'undefined') && (width = addUnits(width, 'px'));
  !$equals_4(height, 'undefined') && (height = addUnits(height, 'px'));
  if ($equals_4(height, 'undefined') && width.lastIndexOf('px') != -1 && width.lastIndexOf('px') == width.length - 'px'.length || $equals_4(width, 'undefined') && height.lastIndexOf('px') != -1 && height.lastIndexOf('px') == height.length - 'px'.length || width.lastIndexOf('px') != -1 && width.lastIndexOf('px') == width.length - 'px'.length && height.lastIndexOf('px') != -1 && height.lastIndexOf('px') == height.length - 'px'.length) {
    $setSize_1(this$static, parseInt(width, 10) || -1, parseInt(height, 10) || -1);
    return;
  }
  this$static.autoWidth?this$static.el.setWidth_0('auto'):!$equals_4(width, 'undefined') && this$static.el.setWidth_0(width);
  this$static.autoHeight?this$static.el.setHeight_0('auto'):!$equals_4(height, 'undefined') && !this$static.deferHeight && this$static.el.setHeight_0(height);
  w = -1;
  h = -1;
  list = $makeVisible(this$static);
  width.indexOf('px') != -1?(w = __parseAndValidateInt(width.substr(0, width.indexOf('px') - 0), 10, -2147483648, 2147483647)):this$static.autoWidth || $equals_4('auto', width)?(w = -1):!$equals_4(width, 'undefined') && (w = parseInt(this$static.getElement()['offsetWidth']) || 0);
  height.indexOf('px') != -1?(h = __parseAndValidateInt(height.substr(0, height.indexOf('px') - 0), 10, -2147483648, 2147483647)):this$static.autoHeight || $equals_4('auto', height)?(h = -1):!$equals_4(height, 'undefined') && (h = parseInt(this$static.getElement()['offsetHeight']) || 0);
  size = $Size(new Size, w, h);
  if (!!this$static.lastSize && $equals_3(this$static.lastSize, size)) {
    return;
  }
  this$static.lastSize = size;
  this$static.onResize(w, h);
  !!this$static.layer && $sync_1(this$static.layer, true);
  $clinit_0();
  ariaEnabled && $sync(get(), this$static);
  $restoreVisible(this$static, list);
  evt = dynamicCast(this$static.createComponentEvent(null), 60);
  $fireEvent_2(this$static, ($clinit_56() , Resize), evt);
}

function afterRender_0(){
  $afterRender_0(this);
}

function createComponentEvent_0(event_0){
  var e;
  e = $BoxComponentEvent(new BoxComponentEvent, this, event_0);
  return e;
}

function getClass_118(){
  return Lcom_extjs_gxt_ui_client_widget_BoxComponent_2_classLit;
}

function onHide_0(){
  $onHide(this);
  !!this.layer && $hideUnders_0(this.layer);
}

function onResize(width, height){
  this.mask && $mask_0(this, this.maskMessage, this.maskMessageStyleName);
}

function onShow_0(){
  $onShow(this);
  !!this.layer && $sync_1(this.layer, true);
}

function onUnload_0(){
  $onUnload_0(this);
}

function setPagePosition(x, y){
  $setPagePosition_0(this, x, y);
}

function setPosition(left, top_0){
  $setPosition(this, left, top_0);
}

function BoxComponent(){
}

_ = BoxComponent.prototype = new Component;
_.afterRender_0 = afterRender_0;
_.createComponentEvent = createComponentEvent_0;
_.getClass$ = getClass_118;
_.onHide = onHide_0;
_.onResize = onResize;
_.onShow = onShow_0;
_.onUnload = onUnload_0;
_.setPagePosition = setPagePosition;
_.setPosition = setPosition;
_.typeId$ = 78;
_.autoHeight = false;
_.autoWidth = false;
_.boxReady = false;
_.deferHeight = false;
_.ensureVisibilityOnSizing = false;
_.height = null;
_.lastSize = null;
_.layer = null;
_.left_0 = -1;
_.pageX = -1;
_.pageY = -1;
_.shadow = false;
_.shim = false;
_.top_0 = -1;
_.width = null;
function $clinit_140(){
  $clinit_140 = nullMethod;
  $clinit_139();
}

function $Container(this$static){
  $clinit_140();
  $BoxComponent(this$static);
  this$static.items = $ArrayList(new ArrayList);
  return this$static;
}

function $add_5(this$static, item){
  return this$static.insert(item, this$static.items.size);
}

function $adjustIndex(this$static, child, beforeIndex){
  var idx;
  idx = $indexOf_4(this$static.items, child, 0);
  idx != -1 && idx < beforeIndex && --beforeIndex;
  return beforeIndex;
}

function $attachChildren(this$static){
  var item, item$iterator;
  if (this$static.attached) {
    for (item$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.items); item$iterator.i < item$iterator.this$0_0.size_0();) {
      item = dynamicCast($next_4(item$iterator), 63);
      item.rendered && (!!item && !item.isAttached() && (item.onAttach() , undefined) , undefined);
    }
  }
}

function $disable_0(this$static){
  var c, c$iterator;
  $disable(this$static);
  for (c$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.items); c$iterator.i < c$iterator.this$0_0.size_0();) {
    c = dynamicCast($next_4(c$iterator), 63);
    c.disable();
  }
}

function $doDetachChildren_1(this$static){
  var item, item$iterator;
  $doDetachChildren_0(this$static);
  for (item$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.items); item$iterator.i < item$iterator.this$0_0.size_0();) {
    item = dynamicCast($next_4(item$iterator), 63);
    item.rendered && (!!item && item.isAttached() && (item.onDetach() , undefined) , undefined);
  }
}

function $doLayout(this$static, force){
  var c, c$iterator, con;
  if (!this$static.enableLayout || !force && !$fireEvent_2(this$static, ($clinit_56() , BeforeLayout), this$static.createContainerEvent(null))) {
    return false;
  }
  !this$static.layout_0 && this$static.setLayout($FlowLayout(new FlowLayout));
  for (c$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.items); c$iterator.i < c$iterator.this$0_0.size_0();) {
    c = dynamicCast($next_4(c$iterator), 63);
    c != null && canCast(c.typeId$, 61) && $layoutBars(dynamicCast(c, 61));
  }
  (force || this$static.layoutNeeded) && $layout_3(this$static.layout_0);
  for (c$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.items); c$iterator.i < c$iterator.this$0_0.size_0();) {
    c = dynamicCast($next_4(c$iterator), 63);
    if (c != null && canCast(c.typeId$, 67)) {
      $layout_0(dynamicCast(c, 67), force);
    }
     else if (c != null && canCast(c.typeId$, 64)) {
      con = dynamicCast(c, 64);
      !!con.layout_0 && con.layout_2(force);
    }
  }
  $fireEvent_2(this$static, ($clinit_56() , AfterLayout), this$static.createContainerEvent(null));
  return true;
}

function $enable_0(this$static){
  var c, c$iterator;
  $enable(this$static);
  for (c$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.items); c$iterator.i < c$iterator.this$0_0.size_0();) {
    c = dynamicCast($next_4(c$iterator), 63);
    c.enable();
  }
}

function $findItem(this$static, elem){
  var c, c$iterator;
  for (c$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.items); c$iterator.i < c$iterator.this$0_0.size_0();) {
    c = dynamicCast($next_4(c$iterator), 63);
    if ($isOrHasChild_0(($clinit_308() , c.getElement()), elem)) {
      return c;
    }
  }
  return null;
}

function $getItem(this$static, index){
  return index < this$static.items.size?dynamicCast($get_9(this$static.items, index), 63):null;
}

function $getItemByItemId(this$static, itemId){
  var item, item$iterator;
  for (item$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.items); item$iterator.i < item$iterator.this$0_0.size_0();) {
    item = dynamicCast($next_4(item$iterator), 63);
    if ($equals_4(item.itemId != null?item.itemId:$getId_0(item), itemId)) {
      return item;
    }
  }
  return null;
}

function $insert_1(this$static, item, index){
  var componentEvent, containerEvent;
  containerEvent = this$static.createContainerEvent(item);
  if ($fireEvent_2(this$static, ($clinit_56() , BeforeAdd), containerEvent)) {
    componentEvent = item.createComponentEvent(null);
    if ($fireEvent_2(item, BeforeAdopt, componentEvent)) {
      index = $adjustIndex(this$static, item, index);
      $removeFromParent_1(item);
      item.rendered && item.el.remove();
      $add_14(this$static.items, index, item);
      (this$static.autoHeight || this$static.autoWidth) && (!!this$static.layer && $sync_1(this$static.layer, true) , undefined);
      item.parent_0 = this$static;
      $fireEvent_2(item, Adopt, componentEvent);
      $fireEvent_2(this$static, Add, containerEvent);
      this$static.layoutNeeded = true;
      this$static.rendered && this$static.layoutOnChange && this$static.layout_1();
      return true;
    }
  }
  return false;
}

function $layout_0(this$static, force){
  if (!this$static.rendered) {
    this$static.layoutOnAttach = true;
    return false;
  }
  return $doLayout(this$static, force);
}

function $notifyHide_0(this$static){
  var c, c$iterator;
  for (c$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.items); c$iterator.i < c$iterator.this$0_0.size_0();) {
    c = dynamicCast($next_4(c$iterator), 63);
    !c.hidden && c.rendered && c.notifyHide();
  }
}

function $notifyShow_0(this$static){
  var c, c$iterator;
  for (c$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.items); c$iterator.i < c$iterator.this$0_0.size_0();) {
    c = dynamicCast($next_4(c$iterator), 63);
    !c.hidden && c.rendered && c.notifyShow();
  }
}

function $onAttach_2(this$static){
  var parent_0, parentIsContainer;
  $onAttach_1(this$static);
  if (!this$static.layoutExecuted && this$static.layoutOnAttach) {
    parentIsContainer = !!this$static.parent_0 && instanceOf(this$static.parent_0, 64);
    if (parentIsContainer) {
      parent_0 = dynamicCast(this$static.parent_0, 64);
      (!parent_0.getLayout() || !this$static.getLayout() || !this$static.getLayout().monitorResize || !this$static.getLayout().running) && this$static.layout_1();
    }
     else {
      this$static.layout_1();
    }
  }
}

function $onLayoutExcecuted(this$static){
  this$static.layoutExecuted = true;
  this$static.layoutNeeded = false;
  $attachChildren(this$static);
  !!this$static.layer && $sync_1(this$static.layer, true);
}

--></script>
<script><!--
function $remove_7(this$static, component, force){
  var componentEvent, containerEvent, elem, parent_0, parent_1;
  containerEvent = this$static.createContainerEvent(component);
  containerEvent.item = component;
  $indexOf_4(this$static.items, component, 0);
  if ($fireEvent_2(this$static, ($clinit_56() , BeforeRemove), containerEvent) || force) {
    componentEvent = component.createComponentEvent(null);
    if ($fireEvent_2(component, BeforeOrphan, componentEvent) || force) {
      (this$static.autoHeight || this$static.autoWidth) && (!!this$static.layer && $sync_1(this$static.layer, true) , undefined);
      component.isAttached() && (!!component && component.isAttached() && (component.onDetach() , undefined) , undefined);
      component.parent_0 = null;
      if (this$static.rendered) {
        elem = component.getElement();
        parent_0 = (parent_1 = ($clinit_308() , elem).parentNode , (!parent_1 || parent_1.nodeType != 1) && (parent_1 = null) , parent_1);
        !!parent_0 && parent_0.removeChild(elem);
      }
      $remove_20(this$static.items, component);
      $fireEvent_2(component, Orphan, componentEvent);
      $fireEvent_2(this$static, Remove, containerEvent);
      this$static.layoutNeeded = true;
      this$static.rendered && this$static.layoutOnChange && this$static.layout_1();
      return true;
    }
  }
  return false;
}

function $removeAll(this$static, force){
  var count, i;
  count = this$static.items.size;
  for (i = 0; i < count; ++i) {
    $remove_7(this$static, 0 < this$static.items.size?dynamicCast($get_9(this$static.items, 0), 63):null, force);
  }
  return this$static.items.size == 0;
}

function $setLayout(this$static, layout){
  !this$static.layoutListener && (this$static.layoutListener = $Container$1(new Container$1, this$static));
  if (this$static.layout_0) {
    $removeListener(this$static.layout_0, ($clinit_56() , BeforeLayout), this$static.layoutListener);
    $removeListener(this$static.layout_0, AfterLayout, this$static.layoutListener);
    this$static.layout_0.setContainer(null);
  }
  this$static.layout_0 = layout;
  $addListener(this$static.layout_0, ($clinit_56() , BeforeLayout), this$static.layoutListener);
  $addListener(this$static.layout_0, AfterLayout, this$static.layoutListener);
  this$static.layoutNeeded = true;
  layout.setContainer(this$static);
}

function $wrapWidget(widget){
  if (widget) {
    return widget;
  }
   else {
    return $WidgetComponent(new WidgetComponent, widget);
  }
}

function createContainerEvent(item){
  return $ContainerEvent(new ContainerEvent, this, item);
}

function disable_1(){
  $disable_0(this);
}

function doAttachChildren_1(){
  $doAttachChildren_0(this);
  $attachChildren(this);
}

function doDetachChildren_1(){
  $doDetachChildren_1(this);
}

function enable_1(){
  $enable_0(this);
}

function getClass_119(){
  return Lcom_extjs_gxt_ui_client_widget_Container_2_classLit;
}

function getLayout(){
  return this.layout_0;
}

function getLayoutTarget(){
  return this.el;
}

function insert(item, index){
  return $insert_1(this, item, index);
}

function layout_0(){
  return this.layout_2(false);
}

function layout_1(force){
  return $layout_0(this, force);
}

function notifyHide_0(){
  $notifyHide_0(this);
}

function notifyShow_0(){
  $notifyShow_0(this);
}

function onAttach_1(){
  $onAttach_2(this);
}

function onLayoutExcecuted(layout){
  $onLayoutExcecuted(this);
}

function remove_6(item){
  return $remove_7(this, item, false);
}

function setLayout(layout){
  $setLayout(this, layout);
}

function Container(){
}

_ = Container.prototype = new BoxComponent;
_.createContainerEvent = createContainerEvent;
_.disable = disable_1;
_.doAttachChildren = doAttachChildren_1;
_.doDetachChildren = doDetachChildren_1;
_.enable = enable_1;
_.getClass$ = getClass_119;
_.getLayout = getLayout;
_.getLayoutTarget = getLayoutTarget;
_.insert = insert;
_.layout_1 = layout_0;
_.layout_2 = layout_1;
_.notifyHide = notifyHide_0;
_.notifyShow = notifyShow_0;
_.onAttach = onAttach_1;
_.onLayoutExcecuted = onLayoutExcecuted;
_.remove_3 = remove_6;
_.setLayout = setLayout;
_.typeId$ = 79;
_.enableLayout = false;
_.items = null;
_.layout_0 = null;
_.layoutExecuted = false;
_.layoutListener = null;
_.layoutNeeded = true;
_.layoutOnAttach = true;
_.layoutOnChange = false;
function $clinit_141(){
  $clinit_141 = nullMethod;
  $clinit_140();
}

function $afterRender_1(this$static){
  this$static.scrollLeft_0 != -1 && $setHScrollPosition(this$static, this$static.scrollLeft_0);
  this$static.scrollTop_0 != -1 && $setVScrollPosition(this$static, this$static.scrollTop_0);
  this$static.scrollMode != ($clinit_13() , NONE) && $setScrollMode(this$static, this$static.scrollMode);
  $addEventsSunk(this$static.getLayoutTarget(), 16384);
  $afterRender_0(this$static);
}

function $onComponentEvent_0(this$static, ce){
  (!ce.event_0?-1:$eventGetTypeInt(($clinit_308() , ce.event_0).type)) == 16384 && $fireEvent_2(this$static, ($clinit_56() , Scroll), $ComponentEvent(new ComponentEvent, this$static));
}

function $setHScrollPosition(this$static, position){
  this$static.scrollLeft_0 = position;
  this$static.rendered && $setScrollLeft(this$static.getLayoutTarget(), position);
}

function $setScrollMode(this$static, scroll){
  this$static.scrollMode = scroll;
  if (this$static.rendered) {
    switch (scroll.ordinal) {
      case 0:
      case 3:
      case 4:
        $setStyleAttribute(this$static.getLayoutTarget(), 'overflow', this$static.scrollMode.value.toLowerCase());
        break;
      case 1:
        $setStyleAttribute(this$static.getLayoutTarget(), 'overflowX', this$static.scrollMode.value.toLowerCase());
        $setStyleAttribute(this$static.getLayoutTarget(), 'overflowY', 'hidden');
        break;
      case 2:
        $setStyleAttribute(this$static.getLayoutTarget(), 'overflowY', this$static.scrollMode.value.toLowerCase());
        $setStyleAttribute(this$static.getLayoutTarget(), 'overflowX', 'hidden');
    }
  }
}

function $setVScrollPosition(this$static, position){
  this$static.scrollTop_0 = position;
  this$static.rendered && $setScrollTop(this$static.getLayoutTarget(), position);
}

function afterRender_1(){
  $afterRender_1(this);
}

function getClass_120(){
  return Lcom_extjs_gxt_ui_client_widget_ScrollContainer_2_classLit;
}

function onComponentEvent_0(ce){
  $onComponentEvent_0(this, ce);
}

function ScrollContainer(){
}

_ = ScrollContainer.prototype = new Container;
_.afterRender_0 = afterRender_1;
_.getClass$ = getClass_120;
_.onComponentEvent = onComponentEvent_0;
_.typeId$ = 80;
_.scrollLeft_0 = -1;
_.scrollTop_0 = -1;
function $clinit_142(){
  $clinit_142 = nullMethod;
  $clinit_141();
}

function $LayoutContainer(this$static){
  $clinit_142();
  $Container(this$static);
  this$static.scrollMode = ($clinit_13() , NONE);
  this$static.enableLayout = true;
  return this$static;
}

function $add_6(this$static, widget){
  return $insert_2(this$static, widget, this$static.items.size);
}

function $add_7(this$static, widget, layoutData){
  return $insert_3(this$static, widget, this$static.items.size, layoutData);
}

function $findComponent(this$static, widget){
  var c, c$iterator, wc;
  for (c$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.items); c$iterator.i < c$iterator.this$0_0.size_0();) {
    c = dynamicCast($next_4(c$iterator), 63);
    if (c != null && canCast(c.typeId$, 66)) {
      wc = dynamicCast(c, 66);
      if (widget == wc.widget) {
        return wc;
      }
    }
  }
  return null;
}

function $insert_2(this$static, widget, index){
  return $insert_1(this$static, $wrapWidget(widget), index);
}

function $insert_3(this$static, widget, index, layoutData){
  var added, component;
  component = $wrapWidget(widget);
  !!layoutData && setLayoutData(component, layoutData);
  added = $insert_1(this$static, component, index);
  return added;
}

function $onComponentEvent_1(this$static, ce){
  var type;
  $onComponentEvent_0(this$static, ce);
  type = !ce.event_0?-1:$eventGetTypeInt(($clinit_308() , ce.event_0).type);
  switch (type) {
    case 2048:
      this$static.onFocus(ce);
      break;
    case 4096:
      $clinit_0();
      ariaEnabled && $unframe(get());
  }
}

function $onFocus(this$static){
  var c, i;
  $clinit_0();
  if (ariaEnabled) {
    if (this$static.ariaIgnore) {
      for (i = 0; i < this$static.items.size; ++i) {
        c = i < this$static.items.size?dynamicCast($get_9(this$static.items, i), 63):null;
        if (!c.ariaIgnore) {
          c.focus_0();
          break;
        }
      }
    }
     else {
      $frame(get(), this$static);
    }
  }
}

function $onRender_0(this$static, parent_0, index){
  !this$static.el && $setElement_1(this$static, ($clinit_308() , $doc).createElement('div'), parent_0, index);
  $clinit_0();
  if (ariaEnabled) {
    this$static.el.dom_0['tabIndex'] = 0;
    $setElementAttribute(this$static.el, 'hideFocus', 'true');
    this$static.rendered?$sinkEvents(this$static, 6144):(this$static.events |= 6144);
  }
}

function $remove_8(this$static, widget){
  var c;
  c = null;
  widget?(c = widget):(c = $findComponent(this$static, widget));
  if (!c) {
    return false;
  }
  return $remove_7(this$static, c, false);
}

function getClass_121(){
  return Lcom_extjs_gxt_ui_client_widget_LayoutContainer_2_classLit;
}

function getLayout_0(){
  return this.layout_0;
}

function getLayoutTarget_0(){
  return this.el;
}

function layout_2(){
  return $layout_0(this, false);
}

function layout_3(force){
  return $layout_0(this, force);
}

function onComponentEvent_1(ce){
  $onComponentEvent_1(this, ce);
}

function onFocus(ce){
  $onFocus(this);
}

function onRender_1(parent_0, index){
  $onRender_0(this, parent_0, index);
}

function setLayout_0(layout){
  $setLayout(this, layout);
}

function LayoutContainer(){
}

_ = LayoutContainer.prototype = new ScrollContainer;
_.getClass$ = getClass_121;
_.getLayout = getLayout_0;
_.getLayoutTarget = getLayoutTarget_0;
_.layout_1 = layout_2;
_.layout_2 = layout_3;
_.onComponentEvent = onComponentEvent_1;
_.onFocus = onFocus;
_.onRender = onRender_1;
_.setLayout = setLayout_0;
_.typeId$ = 81;
function $clinit_143(){
  $clinit_143 = nullMethod;
  $clinit_142();
}

function $ContentPanel(this$static){
  $clinit_143();
  $LayoutContainer(this$static);
  this$static.buttonAlign = ($clinit_10() , RIGHT_1);
  this$static.baseStyle = 'x-panel';
  this$static.fbar = $ButtonBar(new ButtonBar);
  this$static.fbar.parent_0 = this$static;
  $setMinButtonWidth(this$static.fbar, 75);
  this$static.fbar.alignment = this$static.buttonAlign;
  this$static.head = $Header(new Header);
  this$static.head.parent_0 = this$static;
  this$static.disabledStyle = null;
  this$static.deferHeight = true;
  return this$static;
}

function $afterCollapse(this$static){
  var ce;
  $addStyleName_0(this$static, this$static.collapseStyle);
  $removeStyleName_2(this$static, this$static.baseStyle + '-animated');
  this$static.collapsed = true;
  this$static.animating = false;
  !!this$static.layer && $sync_1(this$static.layer, true);
  ce = $ComponentEvent(new ComponentEvent, this$static);
  $fireEvent_2(this$static, ($clinit_56() , Collapse), ce);
}

function $afterExpand(this$static){
  var ce;
  $removeStyleName_2(this$static, this$static.collapseStyle);
  $removeStyleName_2(this$static, this$static.baseStyle + '-animated');
  this$static.collapsed = false;
  this$static.animating = false;
  !!this$static.layer && $sync_1(this$static.layer, true);
  ce = $ComponentEvent(new ComponentEvent, this$static);
  $fireEvent_2(this$static, ($clinit_56() , Expand), ce);
}

function $collapse(this$static){
  if (this$static.rendered) {
    if (!this$static.collapsed && !this$static.animating && $fireEvent_1(this$static, ($clinit_56() , BeforeCollapse))) {
      !!this$static.layer && $hideShadow_0(this$static.layer);
      $onCollapse(this$static);
    }
  }
   else {
    this$static.collapsed = true;
  }
}

function $doAttachChildren_2(this$static){
  $doAttachChildren_0(this$static);
  $attachChildren(this$static);
  this$static.head.rendered && doAttach(this$static.head);
  this$static.fbar.rendered && doAttach(this$static.fbar);
  doAttach(this$static.topComponent);
  doAttach(this$static.bottomComponent);
}

function $doDetachChildren_2(this$static){
  $doDetachChildren_1(this$static);
  this$static.head.rendered && doDetach(this$static.head);
  doDetach(this$static.fbar);
  doDetach(this$static.topComponent);
  doDetach(this$static.bottomComponent);
}

function $expand(this$static){
  if (this$static.rendered) {
    if (this$static.collapsed && !this$static.animating && $fireEvent_1(this$static, ($clinit_56() , BeforeExpand))) {
      !!this$static.layer && $hideShadow_0(this$static.layer);
      this$static.onExpand();
    }
  }
   else {
    this$static.collapsed = false;
  }
}

function $getElement_1(this$static, name_0){
  if ($equals_4(name_0, 'header')) {
    return $getElement_0(this$static.head);
  }
   else if ($equals_4(name_0, 'bwrap')) {
    return this$static.bwrap.dom_0;
  }
   else if ($equals_4(name_0, 'body')) {
    return this$static.body_0.dom_0;
  }
  return null;
}

function $getFrameWidth_0(this$static){
  var l, mc, w, firstChild;
  w = $getFrameWidth(this$static.el, 'lr') + $getFrameWidth(this$static.bwrap, 'lr');
  if (this$static.frame) {
    l = $getFirstChildElement(($clinit_308() , this$static.bwrap.dom_0));
    w += $getFrameWidth(fly_1(l, 'component'), 'l') + $getFrameWidth((firstChild = $getFirstChildElement(fly_1(l, 'component').dom_0) , !firstChild?null:$El(new El, firstChild)), 'r');
    mc = $subChild(this$static.bwrap, 3).dom_0;
    w += $getFrameWidth(fly_1(mc, 'component'), 'lr');
  }
  return w;
}

function $initTools(this$static){
  if (this$static.collapsible && !this$static.hideCollapseTool) {
    this$static.collapseBtn_0 = $ToolButton(new ToolButton, 'x-tool-toggle');
    $addListener(this$static.collapseBtn_0.observable, ($clinit_56() , Select), $ContentPanel$1(new ContentPanel$1, this$static));
    $addTool(this$static.head, this$static.collapseBtn_0);
  }
}

function $layoutBars(this$static){
  this$static.footer && !this$static.fbar.layoutExecuted && $layout_0(this$static.fbar, false);
}

function $onCollapse(this$static){
  if (this$static.animCollapse) {
    this$static.animating = true;
    $addStyleName_0(this$static, this$static.baseStyle + '-animated');
    $slideOut(this$static.bwrap, ($clinit_8() , UP), $FxConfig_1(new FxConfig, 300, $ContentPanel$2(new ContentPanel$2, this$static)));
  }
   else {
    this$static.bwrap.setVisible(false);
    $afterCollapse(this$static);
  }
}

function $onComponentEvent_2(this$static, ce){
  $onComponentEvent_1(this$static, ce);
  (!ce.event_0?-1:$eventGetTypeInt(($clinit_308() , ce.event_0).type)) == 1 && (this$static.collapsible && this$static.titleCollapse && !!this$static.head && $within(ce, $getElement_0(this$static.head), false) && this$static.setExpanded(this$static.collapsed) , undefined);
}

function $onRender_1(this$static, parent_0, pos){
  var anim, bl, bw, clearDiv, div, e, mc, ml, s, firstChild;
  $onRender_0(this$static, parent_0, pos);
  this$static.fbar.items.size > 0 && (this$static.footer = true);
  if (this$static.frame) {
    s = substitute(($clinit_131() , BBOX), initValues(_3Ljava_lang_Object_2_classLit, 337, 0, [this$static.baseStyle]));
    $clinit_17();
    $wnd.GXT.Ext.DomHelper.insertHtml('afterBegin', this$static.el.dom_0, s);
    this$static.head.baseStyle = this$static.headerStyle;
    $setTextStyle(this$static.head, this$static.headerTextStyle);
    this$static.initTools();
    $render(this$static.head, this$static.el.dom_0, -1);
    $subChild(this$static.el, 3).dom_0.appendChild($getElement_0(this$static.head));
    this$static.bwrap = $appendChild(this$static.el, create_0("<div class='" + this$static.bwrapStyle + "'><\/div>"));
    bw = this$static.bwrap.dom_0;
    ml = $getChild_0(this$static.el.dom_0, 1);
    bl = $getChild_0(this$static.el.dom_0, 2);
    bw.appendChild(ml);
    bw.appendChild(bl);
    mc = $getSubChild(fly_1(bw, 'component'), 3);
    this$static.body_0 = $appendChild(fly_1(mc, 'component'), create_0('<div class=' + this$static.bodStyle + '><\/div>'));
    e = $firstChild((firstChild = $getFirstChildElement(($clinit_308() , $lastChild(fly_1(bw, 'component')).dom_0)) , !firstChild?null:$El(new El, firstChild)));
    this$static.foot = $appendChild(e, create_0('<div class=' + this$static.footerStyle + '><\/div>'));
  }
   else {
    this$static.head.baseStyle = this$static.headerStyle;
    $setTextStyle(this$static.head, this$static.headerTextStyle);
    this$static.initTools();
    $render(this$static.head, this$static.el.dom_0, -1);
    this$static.bwrap = $appendChild(this$static.el, create_0('<div class=' + this$static.bwrapStyle + '><\/div>'));
    bw = this$static.bwrap.dom_0;
    this$static.body_0 = $appendChild(fly_1(bw, 'component'), create_0('<div class=' + this$static.bodStyle + '><\/div>'));
    this$static.foot = $appendChild(fly_1(bw, 'component'), create_0('<div class=' + this$static.footerStyle + '><\/div>'));
  }
  if (!this$static.headerVisible) {
    $hide_0(this$static.head);
    $addStyleName(this$static.body_0, initValues(_3Ljava_lang_String_2_classLit, 340, 1, [this$static.bodStyle + '-noheader']));
  }
  if (this$static.footer && this$static.fbar.items.size > 0) {
    div = ($clinit_308() , $doc).createElement('div');
    $addStyleName(fly_1(div, 'component'), initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-panel-btns']));
    $appendChild(this$static.foot, div);
    $render(this$static.fbar, div, -1);
    clearDiv = $doc.createElement('div');
    clearDiv.className = 'x-clear';
    div.appendChild(clearDiv);
  }
   else 
    !this$static.footer && $addStyleName($lastChild(this$static.bwrap), initValues(_3Ljava_lang_String_2_classLit, 340, 1, [this$static.baseStyle + '-nofooter']));
  if (!this$static.bodyBorder) {
    $addStyleName(this$static.el, initValues(_3Ljava_lang_String_2_classLit, 340, 1, [this$static.baseStyle + '-noborder']));
    $addStyleName(this$static.body_0, initValues(_3Ljava_lang_String_2_classLit, 340, 1, [this$static.bodStyle + '-noborder']));
  }
  this$static.bodyStyle != null && $applyStyles(this$static.body_0, this$static.bodyStyle);
  this$static.headerVisible && $disableTextSelection_0(this$static.head, true);
  if (this$static.titleCollapse) {
    $setStyleAttribute_1(this$static.head, 'cursor', 'pointer');
    this$static.rendered?$sinkEvents(this$static, 1):(this$static.events |= 1);
  }
  if (this$static.collapsed) {
    anim = this$static.animCollapse;
    this$static.collapsed = false;
    this$static.animCollapse = false;
    $collapse(this$static);
    this$static.animCollapse = anim;
  }
  $clinit_0();
  if (ariaEnabled) {
    $getElement_0(this$static).setAttribute('role', 'region');
    !!this$static.head && $setAriaLabelledBy(this$static, $getId_0(this$static.head) + '-label');
  }
  this$static.footer && !this$static.fbar.layoutExecuted && $layout_0(this$static.fbar, false);
}

function $onResize_0(this$static, width, height){
  var adjustBodySize, frameSize;
  this$static.mask && $mask_0(this$static, this$static.maskMessage, this$static.maskMessageStyleName);
  frameSize = this$static.getFrameSize();
  adjustBodySize = this$static.adjustBodySize();
  if (this$static.autoWidth) {
    this$static.getLayoutTarget().setWidth_0('auto');
  }
   else if (width != -1) {
    width -= frameSize.width;
    this$static.fbar.rendered && $setSize_1(this$static.fbar, width - $getFrameWidth($getParent(this$static.fbar.el), 'lr'), -1);
    this$static.getLayoutTarget().setWidth(width - adjustBodySize.width, true);
  }
  if (this$static.autoHeight) {
    this$static.getLayoutTarget().setHeight_0('auto');
  }
   else if (height != -1) {
    height -= frameSize.height;
    this$static.getLayoutTarget().setHeight(height - adjustBodySize.height, true);
  }
  this$static.mask && $mask_0(this$static, this$static.maskMessage, this$static.maskMessageStyleName);
}

function $setButtonAlign(this$static, buttonAlign){
  this$static.buttonAlign = buttonAlign;
  this$static.fbar.alignment = buttonAlign;
}

function adjustBodySize_0(){
  return $Size(new Size, 0, 0);
}

function createStyles_0(baseStyle){
  this.headerStyle = baseStyle + '-header';
  this.headerTextStyle = baseStyle + '-header-text';
  this.bwrapStyle = baseStyle + '-bwrap';
  this.bodStyle = baseStyle + '-body';
  this.footerStyle = baseStyle + '-footer';
  this.collapseStyle = baseStyle + '-collapsed';
}

function doAttachChildren_2(){
  $doAttachChildren_2(this);
}

function doDetachChildren_2(){
  $doDetachChildren_2(this);
}

function getClass_122(){
  return Lcom_extjs_gxt_ui_client_widget_ContentPanel_2_classLit;
}

function getFrameSize(){
  var bwrapFrameSize, elFrameSize, ft, h, hd, l, mc, mcFrameSize, w, firstChild;
  elFrameSize = $getFrameSize(this.el);
  bwrapFrameSize = $getFrameSize(this.bwrap);
  mcFrameSize = null;
  if (this.frame) {
    mc = $subChild(this.bwrap, 3).dom_0;
    mcFrameSize = $getFrameSize(fly_1(mc, 'component'));
  }
  w = elFrameSize.width + bwrapFrameSize.width;
  if (this.frame) {
    l = $getFirstChildElement(($clinit_308() , this.bwrap.dom_0));
    w += $getFrameWidth(fly_1(l, 'component'), 'l') + $getFrameWidth((firstChild = $getFirstChildElement(fly_1(l, 'component').dom_0) , !firstChild?null:$El(new El, firstChild)), 'r');
    w += mcFrameSize.width;
  }
  h = elFrameSize.height + bwrapFrameSize.height;
  if (this.frame) {
    hd = $getFirstChildElement(($clinit_308() , this.el.dom_0));
    ft = this.bwrap.dom_0.lastChild;
    h += (fly_1(hd, 'component').dom_0.offsetHeight || 0) + (fly_1(ft, 'component').dom_0.offsetHeight || 0);
    h += mcFrameSize.height;
  }
   else {
    !!this.head && (h += parseInt($getElement_0(this.head)['offsetHeight']) || 0);
    !!this.foot && (h += this.foot.dom_0.offsetHeight || 0);
  }
  h += 0;
  return $Size(new Size, w, h);
}

function getLayoutTarget_1(){
  return this.body_0;
}

function initTools(){
  $initTools(this);
}

function onComponentEvent_2(ce){
  $onComponentEvent_2(this, ce);
}

function onDisable_0(){
  $mask_0(this, null, null);
  $addStyleName_0(this, this.disabledStyle);
}

function onEnable_0(){
  this.mask = false;
  this.maskMessage = null;
  this.maskMessageStyleName = null;
  this.rendered && $unmask(this.el);
  $removeStyleName_2(this, this.disabledStyle);
  $clearOpacity(this.el);
}

function onExpand(){
  if (this.animCollapse) {
    this.animating = true;
    $addStyleName_0(this, this.baseStyle + '-animated');
    $slideIn(this.bwrap, ($clinit_8() , DOWN), $FxConfig_1(new FxConfig, 300, $ContentPanel$3(new ContentPanel$3, this)));
  }
   else {
    this.bwrap.setVisible(true);
    $afterExpand(this);
  }
}

function onRender_2(parent_0, pos){
  $onRender_1(this, parent_0, pos);
}

function onResize_0(width, height){
  $onResize_0(this, width, height);
}

function remove_7(item){
  if (item == this.topComponent) {
    return true;
  }
   else if (item == this.bottomComponent) {
    return true;
  }
  return $remove_7(this, item, false);
}

function setExpanded(expanded){
  expanded?$expand(this):$collapse(this);
}

function ContentPanel(){
}

_ = ContentPanel.prototype = new LayoutContainer;
_.adjustBodySize = adjustBodySize_0;
_.createStyles = createStyles_0;
_.doAttachChildren = doAttachChildren_2;
_.doDetachChildren = doDetachChildren_2;
_.getClass$ = getClass_122;
_.getFrameSize = getFrameSize;
_.getLayoutTarget = getLayoutTarget_1;
_.initTools = initTools;
_.onComponentEvent = onComponentEvent_2;
_.onDisable = onDisable_0;
_.onEnable = onEnable_0;
_.onExpand = onExpand;
_.onRender = onRender_2;
_.onResize = onResize_0;
_.remove_3 = remove_7;
_.setExpanded = setExpanded;
_.typeId$ = 82;
_.animCollapse = true;
_.animating = false;
_.bodStyle = null;
_.body_0 = null;
_.bodyBorder = true;
_.bodyStyle = null;
_.bottomComponent = null;
_.bwrap = null;
_.bwrapStyle = null;
_.collapseBtn_0 = null;
_.collapseStyle = null;
_.collapsed = false;
_.collapsible = false;
_.fbar = null;
_.foot = null;
_.footer = false;
_.footerStyle = null;
_.frame = false;
_.head = null;
_.headerStyle = null;
_.headerTextStyle = null;
_.headerVisible = true;
_.hideCollapseTool = false;
_.titleCollapse = false;
_.topComponent = null;
function $clinit_144(){
  $clinit_144 = nullMethod;
  $clinit_143();
}

function $onHidePanel(this$static, panel){
  var bar;
  this$static.expanded = false;
  if (this$static.popup) {
    $removeStyleName_1(panel.body_0, 'x-panel-popup-body');
    $show_0(panel.head);
    $hide_1(this$static.popup);
    panel.rendered?$setStyleAttribute(panel.el, 'margin', '0px'):(panel.styles += 'margin:0px;');
    bar = dynamicCast($getData(panel, 'splitBar'), 62);
    !!bar && $enable(bar);
  }
}

function $onShowPanel(this$static, panel){
  var bar, box, h, w;
  this$static.expanded = true;
  box = $getBounds(this$static.el, false, false);
  bar = dynamicCast($getData(panel, 'splitBar'), 62);
  !!bar && $disable(bar);
  if (!this$static.popup) {
    this$static.popup = $CollapsePanel$2(new CollapsePanel$2, this$static);
    $add(this$static.popup.preview.ignoreList, $getElement_0(this$static.collapseBtn));
    $add(this$static.popup.preview.ignoreList, $getElement_0(this$static));
    $add(this$static.popup.preview.ignoreList, $getElement_0(panel));
    $setStyleName_2(this$static.popup, 'x-layout-popup');
    $setLayout(this$static.popup, $FitLayout(new FitLayout));
    this$static.popup.shadow = true;
  }
  panel.setPosition(0, 0);
  $setBorders_0(panel, false);
  $hide_0(panel.head);
  $addStyleName(panel.body_0, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-panel-popup-body']));
  $add_5(this$static.popup, panel);
  w = 0;
  h = 0;
  switch (this$static.region.ordinal) {
    case 3:
    case 1:
      w = ~~Math.max(Math.min(this$static.parentData.size, 2147483647), -2147483648);
      h = box.height - 25;
      break;
    case 0:
    case 2:
      w = box.width;
      h = ~~Math.max(Math.min(this$static.parentData.size, 2147483647), -2147483648);
  }
  $show_1(this$static.popup, $getElement_0(this$static), this$static.align_0, this$static.adj);
  $setSize_1(this$static.popup, w, h);
  $layout_0(this$static.popup, false);
}

function $setExpanded(this$static, expanded){
  var panel;
  panel = dynamicCast($getData(this$static, 'panel'), 61);
  !this$static.expanded && expanded?$onShowPanel(this$static, panel):this$static.expanded && !expanded && $onHidePanel(this$static, panel);
}

function doAttachChildren_3(){
  $doAttachChildren_2(this);
  doAttach(this.collapseBtn);
}

function doDetachChildren_3(){
  $doDetachChildren_2(this);
  doDetach(this.collapseBtn);
}

function getClass_123(){
  return Lcom_extjs_gxt_ui_client_widget_CollapsePanel_2_classLit;
}

function getFrameSize_0(){
  return $Size(new Size, 0, 0);
}

function getLayoutTarget_2(){
  return this.el;
}

function onComponentEvent_3(ce){
  $onComponentEvent_2(this, ce);
  !$within(ce, $getElement_0(this.collapseBtn), false) && ce.type_0.eventCode == 1 && $setExpanded(this, !this.expanded);
  switch (ce.type_0.eventCode) {
    case 16:
      $addStyleName_0(this, 'x-layout-collapsed-over');
      break;
    case 32:
      $removeStyleName_2(this, 'x-layout-collapsed-over');
  }
}

function onExpand_0(){
  $show_0(this.panel.head);
}

function onExpandButton(be){
}

function onRender_3(target, index){
  var icon, r, text;
  $setElement_1(this, ($clinit_308() , $doc).createElement('div'), target, index);
  text = null;
  r = this.parentData.region;
  (r == ($clinit_12() , NORTH) || r == SOUTH) && (text = this.panel.head.text);
  this.headerEl = $appendChild(this.el, create_0('<div class="x-panel-header"><span class="x-panel-header-text">' + (text == null || $equals_4('', text)?'&#160;':text) + '<\/span><\/div>'));
  icon = null;
  this.adj = initValues(_3I_classLit, 328, -1, [0, 0]);
  switch (this.parentData.region.ordinal) {
    case 3:
      icon = 'right';
      this.align_0 = 'tl-tr';
      this.adj = initValues(_3I_classLit, 328, -1, [0, 25]);
      break;
    case 1:
      icon = 'left';
      this.align_0 = 'tr-tl';
      this.adj = initValues(_3I_classLit, 328, -1, [0, 25]);
      break;
    case 0:
      icon = 'down';
      this.align_0 = 'tl-bl';
      break;
    case 2:
      icon = 'up';
      this.align_0 = 'bl-tl';
  }
  r == NORTH || this.region == SOUTH?$setStyleAttribute(this.headerEl, 'background', 'none'):$selectNode(this.el, 'span').setVisible(false);
  $setStyleAttribute(this.headerEl, 'cursor', 'default');
  $setStyleName_2(this, 'x-layout-collapsed');
  this.collapseBtn = $ToolButton(new ToolButton, 'x-tool-' + icon);
  $render(this.collapseBtn, this.headerEl.dom_0, 0);
  $addListener(this.collapseBtn.observable, ($clinit_56() , Select), $CollapsePanel$1(new CollapsePanel$1, this));
  this.rendered?$sinkEvents(this, 1):(this.events |= 1);
  this.el.setVisibility(true);
  this.rendered?$sinkEvents(this, 124):(this.events |= 124);
}

function setExpanded_0(expanded){
  $setExpanded(this, expanded);
}

function CollapsePanel(){
}

_ = CollapsePanel.prototype = new ContentPanel;
_.doAttachChildren = doAttachChildren_3;
_.doDetachChildren = doDetachChildren_3;
_.getClass$ = getClass_123;
_.getFrameSize = getFrameSize_0;
_.getLayoutTarget = getLayoutTarget_2;
_.onComponentEvent = onComponentEvent_3;
_.onExpand = onExpand_0;
_.onExpandButton = onExpandButton;
_.onRender = onRender_3;
_.setExpanded = setExpanded_0;
_.typeId$ = 83;
_.adj = null;
_.align_0 = null;
_.collapseBtn = null;
_.expanded = false;
_.headerEl = null;
_.panel = null;
_.parentData = null;
_.popup = null;
_.region = null;
function $CollapsePanel$1(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

--></script>
<script><!--
function $handleEvent_6(this$static, ce){
  this$static.this$0.expanded && $setExpanded(this$static.this$0, false);
  this$static.this$0.onExpandButton(ce);
}

function getClass_124(){
  return Lcom_extjs_gxt_ui_client_widget_CollapsePanel$1_2_classLit;
}

function handleEvent_6(p0){
  $handleEvent_6(this, dynamicCast(p0, 48));
}

function CollapsePanel$1(){
}

_ = CollapsePanel$1.prototype = new Object_0;
_.getClass$ = getClass_124;
_.handleEvent = handleEvent_6;
_.typeId$ = 84;
_.this$0 = null;
function $clinit_146(){
  $clinit_146 = nullMethod;
  $clinit_142();
}

function $afterHide(this$static){
  $remove_12(($clinit_465() , get_8(null)), this$static);
  this$static.hidden = true;
  !!this$static.layer && $hideShadow_0(this$static.layer);
  this$static.el.setVisible(false);
  $fireEvent_2(this$static, ($clinit_56() , Hide), $ComponentEvent(new ComponentEvent, this$static));
}

function $afterShow(this$static){
  this$static.el.setVisible(true);
  !!this$static.layer && $sync_1(this$static.layer, true);
  $focus(this$static);
  this$static.el.setZIndex(($clinit_34() , $clinit_34() , ++zIndexId));
  $fireEvent_2(this$static, ($clinit_56() , Open), $ComponentEvent(new ComponentEvent, this$static));
}

function $hide_1(this$static){
  if (!$fireEvent_2(this$static, ($clinit_56() , BeforeHide), $ComponentEvent(new ComponentEvent, this$static))) {
    return;
  }
  $remove_5(this$static.preview);
  this$static.animate?fadeOut(this$static.el, $FxConfig_0(new FxConfig, $Popup$2(new Popup$2, this$static))):$afterHide(this$static);
}

function $onShowPopup(this$static){
  var clientHeight, clientWidth, p, r, x, y;
  $add_10(($clinit_465() , get_8(null)), this$static);
  this$static.hidden = false;
  p = null;
  if (this$static.alignElem) {
    this$static.alignPos = this$static.alignPos != null?this$static.alignPos:'tl-bl?';
    this$static.alignOffsets = this$static.alignOffsets != null?this$static.alignOffsets:initValues(_3I_classLit, 328, -1, [0, 2]);
    p = $getAlignToXY_0(this$static.el, this$static.alignElem, this$static.alignPos, this$static.alignOffsets);
  }
   else 
    !!this$static.alignPoint && (p = this$static.alignPoint);
  $setLeftTop(this$static.el, p.x, p.y);
  this$static.alignElem = null;
  this$static.alignPos = null;
  this$static.alignOffsets = null;
  this$static.alignPoint = null;
  $makePositionable(this$static.el, true).setVisibility(false);
  clientHeight = $getClientHeight($doc) + getBodyScrollTop();
  clientWidth = $getClientWidth($doc) + getBodyScrollLeft();
  r = $getBounds(this$static.el, false, false);
  x = r.x;
  y = r.y;
  if (y + r.height > clientHeight) {
    y = clientHeight - r.height - 15;
    this$static.el.setTop(y);
  }
  if (x + r.width > clientWidth) {
    x = clientWidth - r.width - 10;
    this$static.el.setLeft(x);
  }
  this$static.el.setVisibility(true);
  $add_1(this$static.preview);
  this$static.animate?fadeIn(this$static.el, $FxConfig_0(new FxConfig, $Popup$3(new Popup$3, this$static))):$afterShow(this$static);
  return this$static;
}

function $show_1(this$static, elem, pos, offsets){
  if (!$fireEvent_2(this$static, ($clinit_56() , BeforeShow), $ComponentEvent(new ComponentEvent, this$static))) {
    return;
  }
  this$static.alignElem = elem;
  this$static.alignPos = pos;
  this$static.alignOffsets = offsets;
  $onShowPopup(this$static);
}

function $showAt(this$static, x, y){
  if (!$fireEvent_2(this$static, ($clinit_56() , BeforeShow), $ComponentEvent(new ComponentEvent, this$static))) {
    return;
  }
  this$static.alignPoint = $Point(new Point, x, y);
  $onShowPopup(this$static);
}

function getClass_125(){
  return Lcom_extjs_gxt_ui_client_widget_Popup_2_classLit;
}

function hide_0(){
  $hide_1(this);
}

function onDetach_1(){
  $onDetach_0(this);
  $onDetachHelper(this);
  !!this.preview && $remove_5(this.preview);
}

function onRender_4(target, index){
  $onRender_0(this, target, index);
  $makePositionable(this.el, true);
  $add(this.preview.ignoreList, $getElement_0(this));
}

function show_1(){
  var p;
  if (!$fireEvent_2(this, ($clinit_56() , BeforeShow), $ComponentEvent(new ComponentEvent, this)))
    return;
  p = $Point(new Point, ~~($getClientWidth($doc) / 2), ~~($getClientHeight($doc) / 2));
  $showAt(this, p.x, p.y);
}

function Popup(){
}

_ = Popup.prototype = new LayoutContainer;
_.getClass$ = getClass_125;
_.hide = hide_0;
_.onDetach = onDetach_1;
_.onRender = onRender_4;
_.show = show_1;
_.typeId$ = 85;
_.alignElem = null;
_.alignOffsets = null;
_.alignPoint = null;
_.alignPos = null;
_.animate = false;
function $clinit_147(){
  $clinit_147 = nullMethod;
  $clinit_146();
}

function $CollapsePanel$2(this$static, this$0){
  $clinit_147();
  this$static.this$0 = this$0;
  $LayoutContainer(this$static);
  this$static.preview = $Popup$1(new Popup$1, this$static);
  this$static.baseStyle = 'x-popup';
  this$static.shim = true;
  this$static.enableLayout = true;
  return this$static;
}

function getClass_126(){
  return Lcom_extjs_gxt_ui_client_widget_CollapsePanel$2_2_classLit;
}

function CollapsePanel$2(){
}

_ = CollapsePanel$2.prototype = new Popup;
_.getClass$ = getClass_126;
_.typeId$ = 86;
_.this$0 = null;
function $Component$1(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function execute_0(){
  this.this$0.focus_0();
}

function getClass_127(){
  return Lcom_extjs_gxt_ui_client_widget_Component$1_2_classLit;
}

function Component$1(){
}

_ = Component$1.prototype = new Object_0;
_.execute = execute_0;
_.getClass$ = getClass_127;
_.typeId$ = 87;
_.this$0 = null;
function $Component$2(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function getClass_128(){
  return Lcom_extjs_gxt_ui_client_widget_Component$2_2_classLit;
}

function handleEvent_7(be){
  this.this$0.onWindowResize($getClientWidth($doc), $getClientHeight($doc));
}

function Component$2(){
}

_ = Component$2.prototype = new Object_0;
_.getClass$ = getClass_128;
_.handleEvent = handleEvent_7;
_.typeId$ = 88;
_.this$0 = null;
function $Component$3(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function getClass_129(){
  return Lcom_extjs_gxt_ui_client_widget_Component$3_2_classLit;
}

function Component$3(){
}

_ = Component$3.prototype = new Object_0;
_.getClass$ = getClass_129;
_.typeId$ = 89;
_.this$0 = null;
function doAttach(widget){
  !!widget && !widget.isAttached() && (widget.onAttach() , undefined);
}

function doDetach(widget){
  !!widget && widget.isAttached() && (widget.onDetach() , undefined);
}

function removeFromParent_1(widget){
  var cp, parent_0;
  parent_0 = widget.parent_0;
  if (parent_0 != null && canCast(parent_0.typeId$, 61)) {
    cp = dynamicCast(parent_0, 61);
    if (cp.topComponent == widget) {
      return;
    }
     else if (cp.bottomComponent == widget) {
      return;
    }
  }
  if (parent_0 != null && canCast(parent_0.typeId$, 64)) {
    dynamicCast(parent_0, 64).remove_3(dynamicCast(widget, 63));
    return;
  }
  if (parent_0 != null && canCast(parent_0.typeId$, 66)) {
    widget.parent_0 = null;
    return;
  }
  widget.removeFromParent();
}

function setLayoutData(c, data){
  var parent_0;
  parent_0 = c.parent_0;
  !c.dataMap && (c.dataMap = $FastMap(new FastMap));
  $put_0(c.dataMap, 'layoutData', data);
  !!parent_0 && parent_0 != null && canCast(parent_0.typeId$, 64) && (dynamicCast(parent_0, 64).layoutNeeded = true , undefined);
}

function $clinit_153(){
  $clinit_153 = nullMethod;
  instance_5 = $ComponentManager(new ComponentManager);
}

function $ComponentManager(this$static){
  $clinit_153();
  this$static.map = $FastMap(new FastMap);
  return this$static;
}

function $register(this$static, component){
  $put_0(this$static.map, $getId_0(component), component);
  $fireEvent(this$static, ($clinit_56() , Register), $ComponentManagerEvent(new ComponentManagerEvent, component));
}

function $unregister(this$static, component){
  $remove_3(this$static.map.map, dynamicCast($getId_0(component), 1));
  $fireEvent(this$static, ($clinit_56() , Unregister), $ComponentManagerEvent(new ComponentManagerEvent, component));
}

function getClass_130(){
  return Lcom_extjs_gxt_ui_client_widget_ComponentManager_2_classLit;
}

function ComponentManager(){
}

_ = ComponentManager.prototype = new BaseObservable;
_.getClass$ = getClass_130;
_.typeId$ = 0;
_.map = null;
var instance_5;
function $Container$1(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $handleEvent_7(this$static, be){
  be.type_0 == ($clinit_56() , BeforeLayout) || be.type_0 == AfterLayout && this$static.this$0.onLayoutExcecuted(be.layout);
}

function getClass_131(){
  return Lcom_extjs_gxt_ui_client_widget_Container$1_2_classLit;
}

function handleEvent_8(p0){
  $handleEvent_7(this, dynamicCast(p0, 68));
}

function Container$1(){
}

_ = Container$1.prototype = new Object_0;
_.getClass$ = getClass_131;
_.handleEvent = handleEvent_8;
_.typeId$ = 90;
_.this$0 = null;
function $ContentPanel$1(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $handleEvent_8(this$static, ce){
  !!ce.event_0 && (ce.event_0.cancelBubble = true , undefined);
  $preventDefault(ce);
  this$static.this$0.setExpanded(this$static.this$0.collapsed);
}

function getClass_132(){
  return Lcom_extjs_gxt_ui_client_widget_ContentPanel$1_2_classLit;
}

function handleEvent_9(p0){
  $handleEvent_8(this, dynamicCast(p0, 48));
}

function ContentPanel$1(){
}

_ = ContentPanel$1.prototype = new Object_0;
_.getClass$ = getClass_132;
_.handleEvent = handleEvent_9;
_.typeId$ = 91;
_.this$0 = null;
function $ContentPanel$2(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $handleEvent_9(this$static){
  $afterCollapse(this$static.this$0);
}

function getClass_133(){
  return Lcom_extjs_gxt_ui_client_widget_ContentPanel$2_2_classLit;
}

function handleEvent_10(p0){
  $handleEvent_9(this, dynamicCast(p0, 69));
}

function ContentPanel$2(){
}

_ = ContentPanel$2.prototype = new Object_0;
_.getClass$ = getClass_133;
_.handleEvent = handleEvent_10;
_.typeId$ = 92;
_.this$0 = null;
function $ContentPanel$3(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $handleEvent_10(this$static){
  $afterExpand(this$static.this$0);
}

function getClass_134(){
  return Lcom_extjs_gxt_ui_client_widget_ContentPanel$3_2_classLit;
}

function handleEvent_11(p0){
  $handleEvent_10(this, dynamicCast(p0, 69));
}

function ContentPanel$3(){
}

_ = ContentPanel$3.prototype = new Object_0;
_.getClass$ = getClass_134;
_.handleEvent = handleEvent_11;
_.typeId$ = 93;
_.this$0 = null;
function $clinit_158(){
  $clinit_158 = nullMethod;
  $clinit_139();
}

function $DatePicker(this$static){
  $clinit_158();
  $BoxComponent(this$static);
  this$static.baseStyle = 'x-date-picker';
  this$static.messages = $DatePicker$DatePickerMessages(new DatePicker$DatePickerMessages);
  this$static.constants = $getDateTimeConstants(($clinit_376() , $clinit_376() , instance_8));
  return this$static;
}

function $createMonthPicker(this$static){
  var buf, i, monthNames;
  buf = $StringBuffer(new StringBuffer);
  buf.impl.string += '<table border=0 cellspacing=0>';
  monthNames = $shortMonths(this$static.constants);
  for (i = 0; i < 6; ++i) {
    buf.impl.string += '<tr><td class=x-date-mp-month><a href=#>';
    buf.impl.string += monthNames[i];
    buf.impl.string += '<\/a><\/td>';
    buf.impl.string += "<td class='x-date-mp-month x-date-mp-sep'><a href=#>";
    buf.impl.string += monthNames[i + 6];
    buf.impl.string += '<\/a><\/td>';
    i == 0?(buf.impl.string += "<td class=x-date-mp-ybtn align=center><a class=x-date-mp-prev href=#><\/a><\/td><td class='x-date-mp-ybtn' align=center><a class='x-date-mp-next'><\/a><\/td><\/tr>" , undefined):(buf.impl.string += "<td class='x-date-mp-year'><a href='#'><\/a><\/td><td class='x-date-mp-year'><a href='#'><\/a><\/td><\/tr>" , undefined);
  }
  buf.impl.string += "<tr class=x-date-mp-btns><td colspan='4'><button type='button' class='x-date-mp-ok'>";
  $append_5(buf, this$static.messages.okText);
  buf.impl.string += '<\/button><button type=button class=x-date-mp-cancel>';
  $append_5(buf, this$static.messages.cancelText);
  buf.impl.string += '<\/button><\/td><\/tr><\/table>';
  $update(this$static.monthPicker, buf.impl.string);
  this$static.mpMonths = $CompositeElement_0(new CompositeElement, toElementArray(($clinit_18() , $clinit_18() , $wnd.GXT.Ext.DomQuery.select('td.x-date-mp-month', this$static.monthPicker.dom_0))));
  this$static.mpYears = $CompositeElement_0(new CompositeElement, toElementArray($wnd.GXT.Ext.DomQuery.select('td.x-date-mp-year', this$static.monthPicker.dom_0)));
  $each(this$static.mpMonths);
}

function $onClick_0(this$static, be){
  var cls, d, elem, pn, target;
  $preventDefault(be);
  target = $getTargetEl(be);
  pn = null;
  cls = target.dom_0.className;
  $equals_4(cls, 'x-date-left-a')?$update_1(this$static, $add_3(this$static.activeDate, ($clinit_123() , MONTH), -1)):$equals_4(cls, 'x-date-right-a') && $update_1(this$static, $add_3(this$static.activeDate, ($clinit_123() , MONTH), 1));
  if (pn = $findParent(target, 'td.x-date-mp-month', 2)) {
    $removeStyleName(this$static.mpMonths, 'x-date-mp-sel');
    elem = $findParent(target, 'td.x-date-mp-month', 2);
    $addStyleName(elem, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-date-mp-sel']));
    this$static.mpSelMonth = parseInt(pn.dom_0['xmonth']) || 0;
  }
   else if (pn = $findParent(target, 'td.x-date-mp-year', 2)) {
    $removeStyleName(this$static.mpYears, 'x-date-mp-sel');
    elem = $findParent(target, 'td.x-date-mp-year', 2);
    $addStyleName(elem, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-date-mp-sel']));
    this$static.mpSelYear = parseInt(pn.dom_0['xyear']) || 0;
  }
   else if ($clinit_18() , $wnd.GXT.Ext.DomQuery.is(target.dom_0, 'button.x-date-mp-ok')) {
    d = $DateWrapper_1(new DateWrapper, this$static.mpSelYear, this$static.mpSelMonth, $getDate(this$static.activeDate.date));
    $update_1(this$static, d);
    $slideOut(this$static.monthPicker, ($clinit_8() , UP), $FxConfig_1(new FxConfig, 300, $DatePicker$4(new DatePicker$4, this$static)));
  }
   else 
    $wnd.GXT.Ext.DomQuery.is(target.dom_0, 'button.x-date-mp-cancel')?$slideOut(this$static.monthPicker, ($clinit_8() , UP), $FxConfig_1(new FxConfig, 300, $DatePicker$4(new DatePicker$4, this$static))):$wnd.GXT.Ext.DomQuery.is(target.dom_0, 'a.x-date-mp-prev')?$updateMPYear(this$static, this$static.mpyear - 10):$wnd.GXT.Ext.DomQuery.is(target.dom_0, 'a.x-date-mp-next') && $updateMPYear(this$static, this$static.mpyear + 10);
  if ($clinit_0() , isSafari) {
    $focus(this$static);
    $update_1(this$static, this$static.activeDate);
  }
}

function $onDayClick(this$static, ce){
  var dt, e, target, d, day, month, tokens, year, cls;
  $preventDefault(ce);
  target = $getTargetEl(ce);
  e = $findParent(target, 'a', 5);
  if (e) {
    dt = $getPropertyString(e.dom_0, 'dateValue');
    if (dt != null) {
      tokens = $split(dt, ',', 0);
      year = __parseAndValidateInt(tokens[0], 10, -2147483648, 2147483647);
      month = __parseAndValidateInt(tokens[1], 10, -2147483648, 2147483647);
      day = __parseAndValidateInt(tokens[2], 10, -2147483648, 2147483647);
      d = $Date_1(new Date_0, fromDouble($getTime0($DateWrapper_1(new DateWrapper, year, month, day).date)));
      !!d && !(cls = $getParent(e).dom_0.className , (' ' + cls + ' ').indexOf(' x-date-disabled ') != -1) && $setValue_1(this$static, d, false);
      return;
    }
  }
}

function $setCellStyle(this$static, cell, d, sel, min, max){
  var day, dd, month, t, w, year;
  t = fromDouble((d.checkJsDate() , d.jsdate.getTime()));
  w = $DateWrapper_0(new DateWrapper, d);
  year = $getYear(w.date) + 1900;
  month = $getMonth(w.date);
  day = $getDate(w.date);
  dd = year + ',' + month + ',' + day;
  $getFirstChildElement(($clinit_308() , cell))['dateValue'] = dd;
  if (eq(t, this$static.today)) {
    $addStyleName(fly_1(cell, 'component'), initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-date-today']));
    cell.title = this$static.messages.todayText || '';
  }
  t[0] == sel[0] && t[1] == sel[1] && $addStyleName(fly_1(cell, 'component'), initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-date-selected']));
  if (compare_1(t, min) < 0) {
    $addStyleName(fly_1(cell, 'component'), initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-date-disabled']));
    cell.title = this$static.messages.minText || '';
  }
  if (compare_1(t, max) > 0) {
    $addStyleName(fly_1(cell, 'component'), initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-date-disabled']));
    cell.title = this$static.messages.maxText || '';
  }
}

function $setMaxDate(this$static, maxDate){
  !!maxDate && (maxDate = $Date_1(new Date_0, fromDouble($getTime0($clearTime($DateWrapper_0(new DateWrapper, maxDate)).date))));
  this$static.maxDate = maxDate;
  this$static.rendered && $update_1(this$static, this$static.value);
}

function $setMinDate(this$static, minDate){
  !!minDate && (minDate = $Date_1(new Date_0, fromDouble($getTime0($clearTime($DateWrapper_0(new DateWrapper, minDate)).date))));
  this$static.minDate = minDate;
  this$static.rendered && $update_1(this$static, this$static.value);
}

function $setValue_1(this$static, date, supressEvent){
  var de;
  this$static.value = $clearTime($DateWrapper_0(new DateWrapper, date));
  this$static.rendered && $update_1(this$static, this$static.value);
  if (!supressEvent) {
    de = $DatePickerEvent(new DatePickerEvent, this$static);
    $fireEvent_2(this$static, ($clinit_56() , Select), de);
  }
}

function $showMonthPicker(this$static){
  var s, firstChild;
  $createMonthPicker(this$static);
  s = $getSize(this$static.el, true);
  s.height -= 2;
  this$static.monthPicker.setTop(1);
  $setSize_0(this$static.monthPicker, s.width, s.height, false);
  $setSize_0((firstChild = $getFirstChildElement(($clinit_308() , this$static.monthPicker.dom_0)) , !firstChild?null:$El(new El, firstChild)), s.width, s.height, true);
  this$static.mpSelMonth = $getMonth((this$static.activeDate?this$static.activeDate:this$static.value).date);
  $updateMPMonth(this$static, this$static.mpSelMonth);
  this$static.mpSelYear = $getYear((this$static.activeDate?this$static.activeDate:this$static.value).date) + 1900;
  $updateMPYear(this$static, this$static.mpSelYear);
  $enableDisplayMode(this$static.monthPicker, 'block');
  $makePositionable(this$static.monthPicker, true);
  $slideIn(this$static.monthPicker, ($clinit_8() , DOWN), ($clinit_94() , NONE_0));
}

function $showNextMonth(this$static){
  $update_1(this$static, $add_3(this$static.activeDate, ($clinit_123() , MONTH), 1));
}

function $showPrevMonth(this$static){
  $update_1(this$static, $add_3(this$static.activeDate, ($clinit_123() , MONTH), -1));
}

function $update_1(this$static, date){
  var d, days, extraDays, firstOfMonth, i, intDay, max, min, month, pm, prevStart, sel, startingPos, vd;
  vd = this$static.activeDate;
  this$static.activeDate = date;
  if (!!vd && !!this$static.el) {
    $getMonth(vd.date) == $getMonth(this$static.activeDate.date) && $getYear(vd.date) + 1900 == $getYear(this$static.activeDate.date) + 1900;
    days = $getDaysInMonth(date);
    firstOfMonth = $DateWrapper_1(new DateWrapper, $getYear(date.date) + 1900, $getMonth(date.date), 1);
    startingPos = $getDay(firstOfMonth.date) - this$static.firstDOW;
    startingPos <= this$static.startDay && (startingPos += 7);
    pm = $add_3(this$static.activeDate, ($clinit_123() , MONTH), -1);
    prevStart = $getDaysInMonth(pm) - startingPos;
    days += startingPos;
    d = $clearTime($DateWrapper_1(new DateWrapper, $getYear(pm.date) + 1900, $getMonth(pm.date), prevStart));
    this$static.today = fromDouble($getTime0($clearTime($DateWrapper(new DateWrapper)).date));
    sel = this$static.value?fromDouble($getTime0($clearTime(this$static.value).date)):P0_longLit;
    min = this$static.minDate?fromDouble($getTime0($DateWrapper_0(new DateWrapper, this$static.minDate).date)):N8000000000000000_longLit;
    max = this$static.maxDate?fromDouble($getTime0($DateWrapper_0(new DateWrapper, this$static.maxDate).date)):P7fffffffffffffff_longLit;
    i = 0;
    for (; i < startingPos; ++i) {
      $update(fly_1(this$static.textNodes[i], 'component'), '' + ++prevStart);
      d = $add_3(d, DAY, 1);
      this$static.cells_0[i].className = 'x-date-prevday';
      $setCellStyle(this$static, this$static.cells_0[i], $Date_1(new Date_0, fromDouble($getTime0(d.date))), sel, min, max);
    }
    for (; i < days; ++i) {
      intDay = i - startingPos + 1;
      $update(fly_1(this$static.textNodes[i], 'component'), '' + intDay);
      d = $add_3(d, DAY, 1);
      this$static.cells_0[i].className = 'x-date-active';
      $setCellStyle(this$static, this$static.cells_0[i], $Date_1(new Date_0, fromDouble($getTime0(d.date))), sel, min, max);
    }
    extraDays = 0;
    for (; i < 42; ++i) {
      $update(fly_1(this$static.textNodes[i], 'component'), '' + ++extraDays);
      d = $add_3(d, DAY, 1);
      this$static.cells_0[i].className = 'x-date-nextday';
      $setCellStyle(this$static, this$static.cells_0[i], $Date_1(new Date_0, fromDouble($getTime0(d.date))), sel, min, max);
    }
    month = $getMonth(this$static.activeDate.date);
    $setText_1(this$static.monthBtn, $standaloneMonths(this$static.constants)[month] + ' ' + ($getYear(this$static.activeDate.date) + 1900));
  }
}

function $updateMPMonth(this$static, month){
  var elem, i, xmonth;
  for (i = 0; i < this$static.mpMonths.items.size; ++i) {
    elem = $item(this$static.mpMonths, i);
    xmonth = parseInt(elem['xmonth']) || 0;
    $setStyleName_0(fly_1(elem, 'component'), 'x-date-mp-sel', xmonth == month);
  }
}

function $updateMPYear(this$static, year){
  var i, td, y2;
  this$static.mpyear = year;
  for (i = 1; i <= 10; ++i) {
    td = $El(new El, $item(this$static.mpYears, i - 1));
    i % 2 == 0?(y2 = lowBits_0(add_2(fromInt(year), fromDouble(Math.round(i * 0.5))))):(y2 = lowBits_0(sub_0(fromInt(year), sub_0(P5_longLit, fromDouble(Math.round(i * 0.5))))));
    $update($firstChild(td), '' + y2);
    td.dom_0['xyear'] = y2;
    $setStyleName_0(td, 'x-date-mp-sel', y2 == this$static.mpSelYear);
  }
}

function doAttachChildren_4(){
  $doAttachChildren_0(this);
  $onAttach_1(this.header);
  doAttach(this.footer);
  doAttach(this.grid);
}

function doDetachChildren_4(){
  $doDetachChildren_0(this);
  $onDetach_1(this.header);
  doDetach(this.footer);
  doDetach(this.grid);
  this.monthPicker.setVisible(false);
}

function focus_2(){
  $focus(this);
  $update_1(this, this.activeDate);
}

function getClass_135(){
  return Lcom_extjs_gxt_ui_client_widget_DatePicker_2_classLit;
}

function onComponentEvent_4(ce){
  var target, target_0;
  switch (!ce.event_0?-1:$eventGetTypeInt(($clinit_308() , ce.event_0).type)) {
    case 1:
      $onClick_0(this, ce);
      break;
    case 16:
      target = $findParent($getTargetEl(ce), 'td.x-date-active', 3);
      !target && (target = $findParent($getTargetEl(ce), 'td.x-date-nextday', 3));
      !target && (target = $findParent($getTargetEl(ce), 'td.x-date-prevday', 3));
      !target && (target = $findParent($getTargetEl(ce), 'td.x-date-mp-month', 3));
      !target && (target = $findParent($getTargetEl(ce), 'td.x-date-mp-year', 3));
      !!target && $addStyleName(target, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-date-active-hover']));
      break;
    case 32:
      target_0 = $findParent($getTargetEl(ce), 'td.x-date-active', 3);
      !target_0 && (target_0 = $findParent($getTargetEl(ce), 'td.x-date-nextday', 3));
      !target_0 && (target_0 = $findParent($getTargetEl(ce), 'td.x-date-prevday', 3));
      !target_0 && (target_0 = $findParent($getTargetEl(ce), 'td.x-date-mp-month', 3));
      !target_0 && (target_0 = $findParent($getTargetEl(ce), 'td.x-date-mp-year', 3));
      !!target_0 && $removeStyleName_1(target_0, 'x-date-active-hover');
  }
}

function onRender_5(target, index){
  var col, dn, row, parent_0;
  $setElement_1(this, ($clinit_308() , $doc).createElement('div'), target, index);
  this.disableTextSelection = 1;
  this.isAttached() && $disableTextSelection(this.el, true);
  this.header = $DatePicker$Header(new DatePicker$Header, this);
  $render(this.header, $getElement_0(this), -1);
  this.days = $Grid_0(new Grid, 1, 7);
  this.days.element['className'] = 'x-date-days';
  this.days.tableElem['cellPadding'] = 0;
  this.days.tableElem['cellSpacing'] = 0;
  this.days.tableElem['border'] = '0';
  dn = $narrowWeekdays(this.constants);
  this.firstDOW = this.startDay != 0?this.startDay:__parseAndValidateInt('1', 10, -2147483648, 2147483647) - 1;
  $setHTML(this.days, 0, 0, '<span>' + dn[this.firstDOW % 7] + '<\/span>');
  $setHTML(this.days, 0, 1, '<span>' + dn[(1 + this.firstDOW) % 7] + '<\/span>');
  $setHTML(this.days, 0, 2, '<span>' + dn[(2 + this.firstDOW) % 7] + '<\/span>');
  $setHTML(this.days, 0, 3, '<span>' + dn[(3 + this.firstDOW) % 7] + '<\/span>');
  $setHTML(this.days, 0, 4, '<span>' + dn[(4 + this.firstDOW) % 7] + '<\/span>');
  $setHTML(this.days, 0, 5, '<span>' + dn[(5 + this.firstDOW) % 7] + '<\/span>');
  $setHTML(this.days, 0, 6, '<span>' + dn[(6 + this.firstDOW) % 7] + '<\/span>');
  this.grid = $Grid_0(new Grid, 6, 7);
  this.grid.element['className'] = 'x-date-inner';
  this.grid.tableElem['cellSpacing'] = 0;
  this.grid.tableElem['cellPadding'] = 0;
  $addDomHandler(this.grid, $DatePicker$1(new DatePicker$1, this), ($clinit_332() , $clinit_332() , TYPE));
  for (row = 0; row < 6; ++row) {
    for (col = 0; col < 7; ++col) {
      $setHTML(this.grid, row, col, '<a href=#><span><\/span><\/a>');
    }
  }
  this.footer = $HorizontalPanel_0(new HorizontalPanel_0);
  this.footer.horzAlign = ($clinit_454() , ALIGN_CENTER);
  this.footer.element.style['width'] = '100%';
  this.todayBtn = $Button_1(new Button, this.messages.todayText, $DatePicker$2(new DatePicker$2, this));
  $add_11(this.footer, this.todayBtn);
  (parent_0 = $getElement_0(this.todayBtn).parentNode , (!parent_0 || parent_0.nodeType != 1) && (parent_0 = null) , parent_0).className = 'x-date-bottom';
  this.monthPicker = $El(new El, $doc.createElement('div'));
  this.monthPicker.dom_0.className = 'x-date-mp';
  $getElement_0(this).appendChild($getElement_0(this.header));
  $getElement_0(this).appendChild(this.days.element);
  $getElement_0(this).appendChild(this.grid.element);
  $getElement_0(this).appendChild(this.footer.element);
  $getElement_0(this).appendChild(this.monthPicker.dom_0);
  $setSize_1(this, 177, -1);
  this.cells_0 = toElementArray(($clinit_18() , $clinit_18() , $wnd.GXT.Ext.DomQuery.select('table.x-date-inner tbody td', this.el.dom_0)));
  this.textNodes = toElementArray($wnd.GXT.Ext.DomQuery.select('table.x-date-inner tbody span', this.el.dom_0));
  this.activeDate = this.value?this.value:$DateWrapper(new DateWrapper);
  $update_1(this, this.activeDate);
  this.rendered?$sinkEvents(this, 125):(this.events |= 125);
  $makePositionable(this.el, false);
}

function DatePicker(){
}

_ = DatePicker.prototype = new BoxComponent;
_.doAttachChildren = doAttachChildren_4;
_.doDetachChildren = doDetachChildren_4;
_.focus_0 = focus_2;
_.getClass$ = getClass_135;
_.onComponentEvent = onComponentEvent_4;
_.onRender = onRender_5;
_.typeId$ = 94;
_.activeDate = null;
_.cells_0 = null;
_.constants = null;
_.days = null;
_.firstDOW = 0;
_.footer = null;
_.grid = null;
_.header = null;
_.maxDate = null;
_.messages = null;
_.minDate = null;
_.monthBtn = null;
_.monthPicker = null;
_.mpMonths = null;
_.mpSelMonth = 0;
_.mpSelYear = 0;
_.mpYears = null;
_.mpyear = 0;
_.nextBtn = null;
_.prevBtn = null;
_.startDay = 0;
_.textNodes = null;
_.today = P0_longLit;
_.todayBtn = null;
_.value = null;
function $DatePicker$1(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $onClick_1(this$static){
  var be, evt;
  evt = currentEvent;
  be = $ComponentEvent_0(new ComponentEvent, this$static.this$0, evt);
  $onDayClick(this$static.this$0, be);
}

function getClass_136(){
  return Lcom_extjs_gxt_ui_client_widget_DatePicker$1_2_classLit;
}

function DatePicker$1(){
}

_ = DatePicker$1.prototype = new Object_0;
_.getClass$ = getClass_136;
_.typeId$ = 95;
_.this$0 = null;
function $DatePicker$2(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $componentSelected(this$static){
  $setValue_1(this$static.this$0, $Date_1(new Date_0, fromDouble($getTime0($DateWrapper(new DateWrapper).date))), false);
}

function componentSelected(p0){
  $componentSelected(this, dynamicCast(p0, 70));
}

function getClass_137(){
  return Lcom_extjs_gxt_ui_client_widget_DatePicker$2_2_classLit;
}

function DatePicker$2(){
}

_ = DatePicker$2.prototype = new SelectionListener;
_.componentSelected = componentSelected;
_.getClass$ = getClass_137;
_.typeId$ = 96;
_.this$0 = null;
function $doFunction(elem, index){
  index += 1;
  index % 2 == 0?(elem['xmonth'] = lowBits_0(add_2(P5_longLit, fromDouble(Math.round(index * 0.5)))) , undefined):(elem['xmonth'] = lowBits_0(fromDouble(Math.round((index - 1) * 0.5))) , undefined);
}

function $DatePicker$4(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $handleEvent_11(this$static){
  this$static.this$0.monthPicker.setVisible(false);
}

function getClass_138(){
  return Lcom_extjs_gxt_ui_client_widget_DatePicker$4_2_classLit;
}

function handleEvent_12(p0){
  $handleEvent_11(this, dynamicCast(p0, 69));
}

function DatePicker$4(){
}

_ = DatePicker$4.prototype = new Object_0;
_.getClass$ = getClass_138;
_.handleEvent = handleEvent_12;
_.typeId$ = 97;
_.this$0 = null;
--></script>
<script><!--
function $DatePicker$DatePickerMessages(this$static){
  this$static.todayText = ($clinit_0() , 'Today');
  this$static.okText = '&#160;OK&#160;';
  this$static.cancelText = 'Cancel';
  this$static.minText = 'This date is before the minimum date';
  this$static.maxText = 'This date is after the maximum date';
  this$static.prevText = 'Previous Month';
  this$static.nextText = 'Next Month';
  return this$static;
}

function getClass_139(){
  return Lcom_extjs_gxt_ui_client_widget_DatePicker$DatePickerMessages_2_classLit;
}

function DatePicker$DatePickerMessages(){
}

_ = DatePicker$DatePickerMessages.prototype = new Object_0;
_.getClass$ = getClass_139;
_.typeId$ = 0;
function $clinit_164(){
  $clinit_164 = nullMethod;
  $clinit_101();
}

function $DatePicker$Header(this$static, this$0){
  $clinit_164();
  this$static.this$0 = this$0;
  $Component(this$static);
  return this$static;
}

function doAttachChildren_5(){
  doAttach(this.this$0.monthBtn);
  $onAttach_1(this.this$0.prevBtn);
  $onAttach_1(this.this$0.nextBtn);
}

function doDetachChildren_5(){
  doDetach(this.this$0.monthBtn);
  $onDetach_1(this.this$0.prevBtn);
  $onDetach_1(this.this$0.nextBtn);
}

function getClass_140(){
  return Lcom_extjs_gxt_ui_client_widget_DatePicker$Header_2_classLit;
}

function onRender_6(target, index){
  var sb, child;
  sb = $StringBuffer(new StringBuffer);
  sb.impl.string += '<table width=100% cellpadding=0 cellspacing=0><tr>';
  sb.impl.string += '<td class=x-date-left><\/td><td class=x-date-middle align=center><\/td>';
  sb.impl.string += '<td class=x-date-right><\/td><\/tr><\/table>';
  $setElement_0(this, create_0(sb.impl.string));
  $insertInto_0(this.el, target, index);
  this.this$0.monthBtn = $Button_1(new Button, '&#160;', $DatePicker$Header$1(new DatePicker$Header$1, this));
  $render(this.this$0.monthBtn, $selectNode(this.el, '.x-date-middle').dom_0, -1);
  $addStyleName((child = ($clinit_18() , $wnd.GXT.Ext.DomQuery.select('em', this.this$0.monthBtn.el.dom_0)[0]) , !child?null:$El(new El, child)), initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-btn-arrow']));
  this.this$0.prevBtn = $IconButton_0(new IconButton, 'x-date-left-icon', $DatePicker$Header$2(new DatePicker$Header$2, this));
  $setToolTip(this.this$0.prevBtn, this.this$0.messages.prevText);
  $render(this.this$0.prevBtn, $selectNode(this.el, '.x-date-left').dom_0, -1);
  this.this$0.nextBtn = $IconButton_0(new IconButton, 'x-date-right-icon', $DatePicker$Header$3(new DatePicker$Header$3, this));
  $setToolTip(this.this$0.nextBtn, this.this$0.messages.nextText);
  $render(this.this$0.nextBtn, $selectNode(this.el, '.x-date-right').dom_0, -1);
}

function DatePicker$Header(){
}

_ = DatePicker$Header.prototype = new Component;
_.doAttachChildren = doAttachChildren_5;
_.doDetachChildren = doDetachChildren_5;
_.getClass$ = getClass_140;
_.onRender = onRender_6;
_.typeId$ = 98;
_.this$0 = null;
function $DatePicker$Header$1(this$static, this$1){
  this$static.this$1 = this$1;
  return this$static;
}

function $componentSelected_0(this$static){
  $showMonthPicker(this$static.this$1.this$0);
}

function componentSelected_0(p0){
  $componentSelected_0(this, dynamicCast(p0, 70));
}

function getClass_141(){
  return Lcom_extjs_gxt_ui_client_widget_DatePicker$Header$1_2_classLit;
}

function DatePicker$Header$1(){
}

_ = DatePicker$Header$1.prototype = new SelectionListener;
_.componentSelected = componentSelected_0;
_.getClass$ = getClass_141;
_.typeId$ = 99;
_.this$1 = null;
function $DatePicker$Header$2(this$static, this$1){
  this$static.this$1 = this$1;
  return this$static;
}

function $componentSelected_1(this$static){
  $showPrevMonth(this$static.this$1.this$0);
}

function componentSelected_1(p0){
  $componentSelected_1(this, dynamicCast(p0, 71));
}

function getClass_142(){
  return Lcom_extjs_gxt_ui_client_widget_DatePicker$Header$2_2_classLit;
}

function DatePicker$Header$2(){
}

_ = DatePicker$Header$2.prototype = new SelectionListener;
_.componentSelected = componentSelected_1;
_.getClass$ = getClass_142;
_.typeId$ = 100;
_.this$1 = null;
function $DatePicker$Header$3(this$static, this$1){
  this$static.this$1 = this$1;
  return this$static;
}

function $componentSelected_2(this$static){
  $showNextMonth(this$static.this$1.this$0);
}

function componentSelected_2(p0){
  $componentSelected_2(this, dynamicCast(p0, 71));
}

function getClass_143(){
  return Lcom_extjs_gxt_ui_client_widget_DatePicker$Header$3_2_classLit;
}

function DatePicker$Header$3(){
}

_ = DatePicker$Header$3.prototype = new SelectionListener;
_.componentSelected = componentSelected_2;
_.getClass$ = getClass_143;
_.typeId$ = 101;
_.this$1 = null;
function $clinit_168(){
  $clinit_168 = nullMethod;
  $clinit_143();
}

function $afterShow_0(this$static){
  var e, h, w, panel;
  this$static.hidden = false;
  !this$static.layoutExecuted && $layout_0(this$static, false);
  if (this$static.restorePos) {
    $setPosition_0(this$static, this$static.restorePos.x, this$static.restorePos.y);
    !!this$static.restoreSize && $setSize_1(this$static, this$static.restoreSize.width, this$static.restoreSize.height);
  }
  h = this$static.el.dom_0.offsetHeight || 0;
  w = parseInt($getElement_0(this$static)['offsetWidth']) || 0;
  h < 100 && w < 200?$setSize_1(this$static, 200, 100):h < 100?$setSize_1(this$static, -1, 100):w < 200 && $setSize_1(this$static, 200, -1);
  !this$static.positioned && $alignTo(this$static.el, ($clinit_34() , $doc.body || $doc.documentElement), 'c-c?', null);
  $updateZIndex(this$static.el, 0);
  if (this$static.modal) {
    this$static.modalPanel = ($clinit_181() , panel = modalStack.arrayList.size > 0?dynamicCast($pop(modalStack), 76):null , !panel && (panel = $ModalPanel(new ModalPanel)) , panel);
    this$static.modalPanel.blink = false;
    $show_3(this$static.modalPanel, this$static);
  }
  if ($clinit_0() , isGecko) {
    e = $selectNode(this$static.el, '.x-window-bwrap');
    if (e) {
      e.dom_0.style['overflow'] = 'auto';
      e.dom_0.style['position'] = 'static';
    }
  }
  $add_1(this$static.eventPreview);
  this$static.maximized && $maximize(this$static);
  this$static.el.setVisibility(true);
  ariaEnabled && ($getElement_0(this$static).setAttribute('aria-hidden', 'false') , undefined);
  $fireEvent_2(this$static, ($clinit_56() , Show), $WindowEvent(new WindowEvent, this$static));
  $bringToFront(this$static.manager, this$static);
}

function $doFocus(this$static){
  $setFocus(!this$static.focusEl?this$static.el:this$static.focusEl, true);
  this$static.focusWidget?this$static.focusWidget?this$static.focusWidget.focus_0():$setFocus(fly_1(this$static.focusWidget.getElement(), 'component'), true):$focus(this$static);
}

function $endDrag(this$static, de){
  $showWindow(this$static, true);
  $setPagePosition_2(this$static, de.x, de.y);
  this$static.restorePos = $getPosition(this$static, true);
  this$static.positioned = true;
  !!this$static.layer && this$static.shadow && (this$static.layer.shadowEnabled = true);
  $focus_1(this$static);
  addCommand($Window$5(new Window$5, this$static));
}

function $fitContainer(this$static){
  $setPosition(this$static, 0, 0);
  this$static.positioned = true;
  $setSize_1(this$static, getViewportWidth(), getViewportHeight());
}

function $focus_1(this$static){
  var t;
  $clinit_0();
  if (ariaEnabled) {
    t = $Window$1(new Window$1, this$static);
    $schedule(t, 1500);
    $setFocus(!this$static.focusEl?this$static.el:this$static.focusEl, true);
    return;
  }
  addCommand($Window$2(new Window$2, this$static));
}

function $getDraggable(this$static){
  if (!this$static.dragger && this$static.draggable) {
    this$static.dragger = $Draggable_0(new Draggable, this$static, this$static.head);
    this$static.dragger.constrainClient = true;
    this$static.dragger.sizeProxyToSource = false;
    $addDragListener(this$static.dragger, $Window$3(new Window$3, this$static));
  }
  return this$static.dragger;
}

function $getResizable(this$static){
  if (!this$static.resizer && this$static.resizable) {
    this$static.resizer = $Resizable(new Resizable, this$static);
    this$static.resizer.minWidth = 200;
    this$static.resizer.minHeight = 100;
    $addResizeListener(this$static.resizer, $Window$4(new Window$4, this$static));
  }
  return this$static.resizer;
}

function $hide_3(this$static){
  if (this$static.hidden || !$fireEvent_2(this$static, ($clinit_56() , BeforeHide), $WindowEvent_1(new WindowEvent, this$static))) {
    return;
  }
  this$static.hidden = true;
  if (!this$static.maximized) {
    this$static.restoreSize = $getSize(this$static.el, false);
    this$static.restorePos = $getPosition(this$static, true);
  }
  $onHide_1(this$static);
  $remove_12(($clinit_465() , get_8(null)), this$static);
  if (this$static.modal) {
    push(this$static.modalPanel);
    this$static.modalPanel = null;
  }
  $remove_5(this$static.eventPreview);
  $notifyHide_0(this$static);
  $fireEvent_2(this$static, ($clinit_56() , Hide), $WindowEvent_1(new WindowEvent, this$static));
}

function $maximize(this$static){
  if (this$static.maximized) {
    $fitContainer(this$static);
  }
   else {
    this$static.restoreSize = $getSize(this$static.el, false);
    this$static.restorePos = $getPosition(this$static, true);
    this$static.maximized = true;
    $addStyleName_0(this$static, 'x-window-maximized');
    $removeStyleName_2(this$static.head, 'x-window-draggable');
    $fitContainer(this$static);
    $setVisible_0(this$static.maxBtn, false);
    $setVisible_0(this$static.restoreBtn, true);
    this$static.draggable && (this$static.dragger.enabled = false , undefined);
    this$static.resizable && $setEnabled_0(this$static.resizer, false);
    $fireEvent_2(this$static, ($clinit_56() , Maximize), $WindowEvent(new WindowEvent, this$static));
  }
}

function $minimize(this$static){
  $fireEvent_2(this$static, ($clinit_56() , Minimize), $WindowEvent(new WindowEvent, this$static));
}

function $onHide_1(this$static){
  $onHide(this$static);
  !!this$static.layer && $hideUnders_0(this$static.layer);
  $clinit_0();
  ariaEnabled && ($getElement_0(this$static).setAttribute('aria-hidden', 'true') , undefined);
}

function $onKeyPress(this$static, we){
  var keyCode;
  keyCode = !we.event_0?-1:$eventGetKeyCode(($clinit_308() , we.event_0));
  this$static.closable && keyCode == 27 && $isOrHasChild_1($getElement_0(this$static), ($clinit_308() , we.event_0).target) && $hide_3(this$static);
}

function $restore(this$static){
  if (this$static.maximized) {
    $removeStyleName_1(this$static.el, 'x-window-maximized');
    $setVisible_0(this$static.restoreBtn, false);
    $setVisible_0(this$static.maxBtn, true);
    this$static.draggable && (this$static.dragger.enabled = true , undefined);
    this$static.resizable && $setEnabled_0(this$static.resizer, true);
    $addStyleName_0(this$static.head, 'x-window-draggable');
    if (this$static.restorePos) {
      $setPosition_0(this$static, this$static.restorePos.x, this$static.restorePos.y);
      $setSize_1(this$static, this$static.restoreSize.width, this$static.restoreSize.height);
    }
    this$static.maximized = false;
    $fireEvent_2(this$static, ($clinit_56() , Restore), $WindowEvent(new WindowEvent, this$static));
  }
}

function $setActive(this$static, active){
  if (active) {
    if (this$static.rendered && !this$static.maximized && !!this$static.layer) {
      this$static.shadow && (this$static.layer.shadowEnabled = true);
      $sync_1(this$static.layer, true);
    }
    $isVisible_1(this$static, true) && $push(this$static.eventPreview);
    $fireEvent_2(this$static, ($clinit_56() , Activate), $WindowEvent(new WindowEvent, this$static));
  }
   else {
    !!this$static.layer && $hideShadow_0(this$static.layer);
    $fireEvent_2(this$static, ($clinit_56() , Deactivate), $WindowEvent(new WindowEvent, this$static));
  }
}

function $setDraggable(this$static, draggable){
  this$static.draggable = draggable;
  if (draggable) {
    $addStyleName_0(this$static.head, 'x-window-draggable');
    $getDraggable(this$static);
  }
   else if (this$static.dragger) {
    $release(this$static.dragger);
    this$static.dragger = null;
    $removeStyleName_2(this$static.head, 'x-window-draggable');
  }
}

function $setHeading(this$static, text){
  $setText(this$static.head, text);
  !!this$static.ghost && $setInnerHtml($selectNode(this$static.ghost, '.x-window-header-text'), text);
}

function $setPagePosition_2(this$static, x, y){
  $setPagePosition_0(this$static, x, y);
  this$static.positioned = true;
}

function $setPosition_0(this$static, left, top_0){
  $setPosition(this$static, left, top_0);
  this$static.positioned = true;
}

function $setResizable(this$static, resizable){
  this$static.resizable = resizable;
  if (resizable) {
    $getResizable(this$static);
  }
   else if (this$static.resizer) {
    $release_0(this$static.resizer);
    this$static.resizer = null;
  }
}

function $setZIndex_1(this$static, zIndex){
  this$static.el.setZIndex(zIndex);
  $clinit_0();
  ariaEnabled && $sync(get(), this$static);
  !!this$static.ghost && $setZIndex_2(this$static.ghost, zIndex);
  !!this$static.modalPanel && this$static.modalPanel.rendered && this$static.modalPanel.el.setZIndex(zIndex - 9);
}

function $show_2(this$static){
  if (!this$static.hidden || !$fireEvent_2(this$static, ($clinit_56() , BeforeShow), $WindowEvent(new WindowEvent, this$static))) {
    return;
  }
  $add_10(($clinit_465() , get_8(null)), this$static);
  this$static.el.setVisibility(false);
  $makePositionable(this$static.el, true);
  $onShow(this$static);
  !!this$static.layer && $sync_1(this$static.layer, true);
  $afterShow_0(this$static);
  $notifyShow_0(this$static);
}

function $showWindow(this$static, show){
  if (show) {
    $onShow(this$static);
    !!this$static.layer && $sync_1(this$static.layer, true);
  }
   else {
    $onHide_1(this$static);
  }
}

function $startDrag_0(this$static, de){
  var d, box, g, h, div, l, firstChild, child;
  $bringToFront(get_6(), this$static);
  !!this$static.layer && $hideShadow_0(this$static.layer);
  this$static.ghost = (g = this$static.ghost?this$static.ghost:(div = ($clinit_308() , $doc).createElement('div') , l = $Layer_0(new Layer, div) , this$static.shim && ($clinit_0() , useShims) && (l.shimEnabled = true) , l.dom_0.className = 'x-panel-ghost' , !!this$static.head && div.appendChild($cloneNode((firstChild = $getFirstChildElement(this$static.el.dom_0) , !firstChild?null:$El(new El, firstChild)), true)) , l.dom_0.appendChild($doc.createElement('ul')) , l) , $setVisibility_0(g, false) , box = $getBounds(this$static.el, false, false) , $setBounds(g, box.x, box.y, box.width, box.height, true) , h = this$static.bwrap.dom_0.offsetHeight || 0 , (child = $getChild_0(g.dom_0, 1) , !child?null:$El(new El, child)).setHeight(h - 1, true) , g);
  !!this$static.eventPreview && !!this$static.ghost && $add(this$static.eventPreview.ignoreList, this$static.ghost.dom_0);
  $showWindow(this$static, false);
  d = de.draggable;
  d.proxyEl = this$static.ghost;
}

function createComponentEvent_1(event_0){
  return $WindowEvent_0(new WindowEvent, this, event_0);
}

function focus_3(){
  $focus_1(this);
}

function getClass_144(){
  return Lcom_extjs_gxt_ui_client_widget_Window_2_classLit;
}

function hide_1(){
  $hide_3(this);
}

function initTools_0(){
  $initTools(this);
  if (this.minimizable) {
    this.minBtn = $ToolButton(new ToolButton, 'x-tool-minimize');
    $addListener(this.minBtn.observable, ($clinit_56() , Select), $Window$6(new Window$6, this));
    $addTool(this.head, this.minBtn);
  }
  if (this.maximizable) {
    this.maxBtn = $ToolButton(new ToolButton, 'x-tool-maximize');
    $addListener(this.maxBtn.observable, ($clinit_56() , Select), $Window$7(new Window$7, this));
    $addTool(this.head, this.maxBtn);
    this.restoreBtn = $ToolButton(new ToolButton, 'x-tool-restore');
    $setVisible_0(this.restoreBtn, false);
    $addListener(this.restoreBtn.observable, Select, $Window$8(new Window$8, this));
    $addTool(this.head, this.restoreBtn);
  }
  if (this.closable) {
    this.closeBtn = $ToolButton(new ToolButton, 'x-tool-close');
    $addListener(this.closeBtn.observable, ($clinit_56() , Select), $Window$9(new Window$9, this));
    $addTool(this.head, this.closeBtn);
  }
}

function onComponentEvent_5(ce){
  var active;
  $onComponentEvent_2(this, ce);
  if ((!ce.event_0?-1:$eventGetTypeInt(($clinit_308() , ce.event_0).type)) == 4) {
    active = this.manager.front;
    !!active && active != this && !active.modal && $bringToFront(this.manager, this);
  }
}

function onDetach_2(){
  $onDetach_0(this);
  $onDetachHelper(this);
  !!this.eventPreview && $remove_5(this.eventPreview);
}

function onFocus_0(ce){
  $onFocus(this);
  $clinit_0();
  ariaEnabled && !!this.focusWidget && $setFocus(($clinit_19() , fly_1(this.focusWidget.getElement(), '_global')), true);
}

function onHide_1(){
  $onHide_1(this);
}

function onRender_7(parent_0, pos){
  $onRender_1(this, parent_0, pos);
  $makePositionable(this.el, true);
  !this.manager && (this.manager = get_6());
  this.plain && $addStyleName_0(this, 'x-window-plain');
  this.eventPreview = $Window$10(new Window$10, this);
  $add(this.eventPreview.ignoreList, $getElement_0(this));
  this.rendered?$sinkEvents(this, 260):(this.events |= 260);
  $clinit_0();
  if (ariaEnabled) {
    this.el.dom_0['tabIndex'] = 0;
    $setElementAttribute(this.el, 'hideFocus', 'true');
    $getElement_0(this).setAttribute('role', 'alertdialog');
    $getElement_0(this).setAttribute('aria-labelledby', $getId_0(this.head) + '-label');
    $getElement_0(this).setAttribute('aria-hidden', 'true');
  }
  this.monitorWindowResize = true;
  this.width == null && $setSize_1(this, 300, -1);
}

function onResize_1(width, height){
  $onResize_0(this, width, height);
  !!this.resizer && $syncHandleHeight(this.resizer);
}

function onWindowResize_0(width, height){
  if ($isVisible_1(this, true)) {
    this.maximized?$fitContainer(this):$setPagePosition_1(this, $getConstrainToXY(this.el, ($clinit_34() , $doc.body || $doc.documentElement), $getPosition(this, false)));
    this.modal && !!this.modalPanel && $syncModal(this.modalPanel);
  }
}

function setPagePosition_0(x, y){
  $setPagePosition_0(this, x, y);
  this.positioned = true;
}

function setPosition_0(left, top_0){
  $setPosition(this, left, top_0);
  this.positioned = true;
}

function show_2(){
  $show_2(this);
}

function Window(){
}

_ = Window.prototype = new ContentPanel;
_.createComponentEvent = createComponentEvent_1;
_.focus_0 = focus_3;
_.getClass$ = getClass_144;
_.hide = hide_1;
_.initTools = initTools_0;
_.onComponentEvent = onComponentEvent_5;
_.onDetach = onDetach_2;
_.onFocus = onFocus_0;
_.onHide = onHide_1;
_.onRender = onRender_7;
_.onResize = onResize_1;
_.onWindowResize = onWindowResize_0;
_.setPagePosition = setPagePosition_0;
_.setPosition = setPosition_0;
_.show = show_2;
_.typeId$ = 102;
_.autoHide = false;
_.closable = true;
_.closeBtn = null;
_.draggable = true;
_.dragger = null;
_.eventPreview = null;
_.focusWidget = null;
_.ghost = null;
_.manager = null;
_.maxBtn = null;
_.maximizable = false;
_.maximized = false;
_.minBtn = null;
_.minimizable = false;
_.modal = false;
_.modalPanel = null;
_.plain = false;
_.positioned = false;
_.resizable = true;
_.resizer = null;
_.resizing = false;
_.restoreBtn = null;
_.restorePos = null;
_.restoreSize = null;
function $clinit_169(){
  $clinit_169 = nullMethod;
  $clinit_168();
}

function $Dialog(this$static){
  $clinit_169();
  $ContentPanel(this$static);
  this$static.baseStyle = 'x-window';
  this$static.focusable = true;
  this$static.frame = true;
  this$static.layoutOnAttach = false;
  this$static.shadow = true;
  this$static.shim = true;
  this$static.hidden = true;
  $setDraggable(this$static, true);
  $setResizable(this$static, true);
  this$static.okText = ($clinit_0() , 'Ok');
  this$static.closeText = 'Close';
  this$static.cancelText = 'Cancel';
  this$static.yesText = 'Yes';
  this$static.noText = 'No';
  this$static.l = $Dialog$1(new Dialog$1, this$static);
  this$static.buttons = 'ok';
  $createButtons(this$static);
  return this$static;
}

function $createButtons(this$static){
  var cancelBtn, closeBtn, noBtn, okBtn, yesBtn;
  $removeAll(this$static.fbar, false);
  if (this$static.buttons.indexOf('ok') != -1) {
    okBtn = $Button_0(new Button, this$static.okText);
    okBtn.itemId = 'ok';
    $addListener(okBtn.observable, ($clinit_56() , Select), this$static.l);
    this$static.focusWidget = okBtn;
    $add_5(this$static.fbar, okBtn);
  }
  if (this$static.buttons.indexOf('yes') != -1) {
    yesBtn = $Button_0(new Button, this$static.yesText);
    yesBtn.itemId = 'yes';
    $addListener(yesBtn.observable, ($clinit_56() , Select), this$static.l);
    this$static.focusWidget = yesBtn;
    $add_5(this$static.fbar, yesBtn);
  }
  if (this$static.buttons.indexOf('no') != -1) {
    noBtn = $Button_0(new Button, this$static.noText);
    noBtn.itemId = 'no';
    $addListener(noBtn.observable, ($clinit_56() , Select), this$static.l);
    $add_5(this$static.fbar, noBtn);
  }
  if (this$static.buttons.indexOf('cancel') != -1) {
    cancelBtn = $Button_0(new Button, this$static.cancelText);
    cancelBtn.itemId = 'cancel';
    $addListener(cancelBtn.observable, ($clinit_56() , Select), this$static.l);
    $add_5(this$static.fbar, cancelBtn);
  }
  if (this$static.buttons.indexOf('close') != -1) {
    closeBtn = $Button_0(new Button, this$static.closeText);
    closeBtn.itemId = 'close';
    $addListener(closeBtn.observable, ($clinit_56() , Select), this$static.l);
    $add_5(this$static.fbar, closeBtn);
  }
}

function $onButtonPressed(this$static, button){
  button == $getItemByItemId(this$static.fbar, 'close') && $hide_3(this$static);
}

function $setButtons(this$static, buttons){
  this$static.buttons = buttons;
  $createButtons(this$static);
}

function getClass_145(){
  return Lcom_extjs_gxt_ui_client_widget_Dialog_2_classLit;
}

function Dialog(){
}

_ = Dialog.prototype = new Window;
_.getClass$ = getClass_145;
_.typeId$ = 103;
_.buttons = null;
function $Dialog$1(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function componentSelected_3(p0){
  $onButtonPressed(this.this$0, dynamicCast(p0, 70).button_0);
}

function getClass_146(){
  return Lcom_extjs_gxt_ui_client_widget_Dialog$1_2_classLit;
}

function Dialog$1(){
}

_ = Dialog$1.prototype = new SelectionListener;
_.componentSelected = componentSelected_3;
_.getClass$ = getClass_146;
_.typeId$ = 104;
_.this$0 = null;
function $clinit_171(){
  $clinit_171 = nullMethod;
  $clinit_101();
}

function $Header(this$static){
  $clinit_171();
  $Component(this$static);
  this$static.tools = $ArrayList(new ArrayList);
  $setAriaIgnore(this$static, true);
  return this$static;
}

function $addTool(this$static, tool){
  $insertTool(this$static, tool, this$static.tools.size);
}

function $insertTool(this$static, tool, index){
  $add_14(this$static.tools, index, tool);
  if (this$static.rendered) {
    $setVisible_0(this$static.widgetPanel, true);
    $insert_2(this$static.widgetPanel, tool, index);
  }
}

function $removeTool(this$static, tool){
  $remove_20(this$static.tools, tool);
  this$static.rendered && $remove_7(this$static.widgetPanel, tool, false);
}

function $setIcon_0(this$static, icon){
  var i, oldIcon;
  if (this$static.rendered) {
    oldIcon = $selectNode(this$static.el, '.x-panel-inline-icon');
    !!oldIcon && oldIcon.remove();
    if (icon) {
      i = $createStructure(icon.url, icon.left_0, icon.top_0, icon.width, icon.height);
      $addStyleName(($clinit_19() , fly_0(i, '_global')), initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-panel-inline-icon']));
      $setStyleAttribute(fly_0(i, '_global'), 'cursor', 'default');
      $setStyleAttribute(fly_0(i, '_global'), 'float', 'left');
      $insertChild(this$static.el, i, 0);
    }
  }
  this$static.icon = icon;
}

function $setText(this$static, text){
  this$static.text = text;
  this$static.rendered && $update(this$static.textEl, text == null?'&#160;':text);
}

function $setTextStyle(this$static, textStyle){
  this$static.textStyle = textStyle;
  this$static.rendered && (this$static.textEl.dom_0.className = textStyle , undefined);
}

function doAttachChildren_6(){
  $doAttachChildren_0(this);
  doAttach(this.widgetPanel);
}

function doDetachChildren_6(){
  $doDetachChildren_0(this);
  doDetach(this.widgetPanel);
}

function getClass_147(){
  return Lcom_extjs_gxt_ui_client_widget_Header_2_classLit;
}

function onRender_8(target, index){
  var i;
  $setElement_1(this, ($clinit_308() , $doc).createElement('div'), target, index);
  $addStyleName_0(this, 'x-small-editor');
  this.widgetPanel = $HorizontalPanel(new HorizontalPanel);
  this.widgetPanel.parent_0 = this;
  $addStyleName_0(this.widgetPanel, 'x-panel-toolbar');
  this.widgetPanel.layoutOnChange = true;
  $setStyleAttribute_1(this.widgetPanel, 'float', 'right');
  $setAriaIgnore(this.widgetPanel, true);
  if (this.tools.size > 0) {
    for (i = 0; i < this.tools.size; ++i) {
      $add_5(this.widgetPanel, dynamicCast($get_9(this.tools, i), 63));
    }
  }
   else {
    $setVisible_0(this.widgetPanel, false);
  }
  $render(this.widgetPanel, $getElement_0(this), -1);
  this.widgetPanel.parent_0 = this;
  this.textEl = $El(new El, $doc.createElement('span'));
  $setId(this.textEl, $getId_0(this) + '-label');
  this.textEl.dom_0.setAttribute('role', 'header');
  $getElement_0(this).appendChild(this.textEl.dom_0);
  this.textStyle != null && $setTextStyle(this, this.textStyle);
  $setText(this, this.text);
  !!this.icon && $setIcon_0(this, this.icon);
}

function Header(){
}

_ = Header.prototype = new Component;
_.doAttachChildren = doAttachChildren_6;
_.doDetachChildren = doDetachChildren_6;
_.getClass$ = getClass_147;
_.onRender = onRender_8;
_.typeId$ = 105;
_.icon = null;
_.text = null;
_.textEl = null;
_.textStyle = null;
_.widgetPanel = null;
function $clinit_172(){
  $clinit_172 = nullMethod;
  $clinit_142();
}

function $HorizontalPanel(this$static){
  $clinit_172();
  $LayoutContainer(this$static);
  this$static.horizontalAlign = ($clinit_10() , LEFT_0);
  this$static.verticalAlign = ($clinit_14() , TOP_0);
  return this$static;
}

function getClass_148(){
  return Lcom_extjs_gxt_ui_client_widget_HorizontalPanel_2_classLit;
}

function onRender_9(parent_0, pos){
  $onRender_0(this, parent_0, pos);
  this.rendered?$setStyleAttribute(this.el, 'overflow', 'visible'):(this.styles += 'overflow:visible;');
  this.layout = $TableRowLayout(new TableRowLayout);
  this.layout.cellHorizontalAlign = this.horizontalAlign;
  this.layout.cellVerticalAlign = this.verticalAlign;
  $setCellSpacing(this.layout, 0);
  this.layout.cellPadding_0 = 0;
  $setLayout(this, this.layout);
  $layout_0(this, false);
}

function HorizontalPanel(){
}

_ = HorizontalPanel.prototype = new LayoutContainer;
_.getClass$ = getClass_148;
_.onRender = onRender_9;
_.typeId$ = 106;
_.layout = null;
function $clinit_173(){
  $clinit_173 = nullMethod;
  $clinit_140();
}

function $HtmlContainer(this$static, html){
  $clinit_173();
  $Container(this$static);
  $clinit_367();
  this$static.html_0 = html;
  return this$static;
}

function $renderAll(this$static){
  var c, c$iterator;
  for (c$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.items); c$iterator.i < c$iterator.this$0_0.size_0();) {
    c = dynamicCast($next_4(c$iterator), 63);
    $renderItem(this$static, c, dynamicCast($getData(c, 'selector'), 1));
  }
}

function $renderItem(this$static, item, selector){
  var elem;
  elem = $selectNode(this$static.el, selector);
  if (elem) {
    $removeChildren(elem);
    item.rendered?$appendChild(elem, item.getElement()):$render(item, elem.dom_0, -1);
    this$static.attached && !item.isAttached() && doAttach(item);
  }
}

function $setHtml(this$static, html){
  this$static.html_0 = html;
  if (this$static.rendered) {
    $removeChildren(this$static.el);
    $getElement_0(this$static).innerHTML = html || '';
    $renderAll(this$static);
  }
}

function createComponentEvent_2(event_0){
  return $HtmlContainerEvent(new HtmlContainerEvent, this);
}

function createContainerEvent_0(item){
  return $HtmlContainerEvent_0(new HtmlContainerEvent, this, item);
}

function getClass_149(){
  return Lcom_extjs_gxt_ui_client_widget_HtmlContainer_2_classLit;
}

function onRender_10(target, index){
  $setElement_1(this, ($clinit_308() , $doc).createElement('div'), target, index);
  this.html_0 != null && $setHtml(this, this.html_0);
}

function HtmlContainer(){
}

_ = HtmlContainer.prototype = new Container;
_.createComponentEvent = createComponentEvent_2;
_.createContainerEvent = createContainerEvent_0;
_.getClass$ = getClass_149;
_.onRender = onRender_10;
_.typeId$ = 107;
_.html_0 = null;
function $clinit_175(){
  $clinit_175 = nullMethod;
  $clinit_19();
  shims = $Stack(new Stack);
  shadows = $Stack(new Stack);
}

function $Layer(this$static){
  $clinit_175();
  $El(this$static, ($clinit_308() , $doc).createElement('div'));
  $setShadowPosition(this$static, ($clinit_176() , SIDES));
  return this$static;
}

function $Layer_0(this$static, element){
  $clinit_175();
  this$static.visiblityMode = ($clinit_20() , DISPLAY_0);
  this$static.dom_0 = element;
  $makePositionable(this$static, false);
  $setShadowPosition(this$static, ($clinit_176() , SIDES));
  return this$static;
}

function $createShadow(this$static){
  var el;
  if ($clinit_0() , isIE_0) {
    el = $El(new El, ($clinit_308() , $doc).createElement('div'));
    el.dom_0.className = 'x-ie-shadow';
    $setStyleAttribute(el, 'filter', 'progid:DXImageTransform.Microsoft.alpha(opacity=50) progid:DXImageTransform.Microsoft.Blur(pixelradius=' + this$static.shadowOffset + ')');
  }
   else {
    el = $El_0(new El, ($clinit_131() , SHADOW));
  }
  el.setVisible(false);
  return el;
}

--></script>
<script><!--
function $getShadow(this$static){
  var pn;
  pn = $getParent(this$static);
  if (!pn || !this$static.shadowEnabled) {
    $hideShadow_0(this$static);
    return null;
  }
  if (this$static.shadow) {
    return this$static.shadow;
  }
  this$static.shadow = shadows.arrayList.size > 0?dynamicCast($pop(shadows), 2):null;
  !this$static.shadow && (this$static.shadow = $createShadow(this$static));
  $insertBefore_0(pn, this$static.shadow.dom_0, this$static.dom_0);
  this$static.shadow.setZIndex((parseInt(dynamicCast($getStyleAttribute_1(computedStyle, this$static.dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['zIndex']))).map['zIndex'], 1), 10) || 0) - 1);
  return this$static.shadow;
}

function $getShim(this$static){
  var pn, el;
  pn = $getParent(this$static);
  if (!pn || !this$static.shimEnabled) {
    $hideShim(this$static);
    return null;
  }
  if (this$static.shim) {
    return this$static.shim;
  }
  this$static.shim = shims.arrayList.size > 0?dynamicCast($pop(shims), 2):null;
  !this$static.shim && (this$static.shim = (el = $El(new El, ($clinit_308() , $doc).createElement('iframe')) , el.dom_0['frameborder'] = 'no' , el.dom_0['frameBorder'] = 'no' , el.dom_0.className = 'ext-shim' , el.dom_0['tabIndex'] = -1 , el.setVisibility(true) , el.setVisible(false) , ($clinit_0() , isIE_0) && isSecure && (el.dom_0['src'] = SSL_SECURE_URL , undefined) , el.dom_0.setAttribute('role', 'presentation') , el));
  $insertBefore_0(pn, this$static.shim.dom_0, this$static.dom_0);
  this$static.shim.setZIndex((parseInt(dynamicCast($getStyleAttribute_1(computedStyle, this$static.dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['zIndex']))).map['zIndex'], 1), 10) || 0) - 2);
  return this$static.shim;
}

function $hideShadow_0(this$static){
  if (this$static.shadow) {
    this$static.shadow.setVisible(false);
    $removeFromParent(this$static.shadow);
    $add_13(shadows.arrayList, this$static.shadow);
    this$static.shadow = null;
  }
}

function $hideShim(this$static){
  if (this$static.shim) {
    this$static.shim.setVisible(false);
    $removeFromParent(this$static.shim);
    $add_13(shims.arrayList, this$static.shim);
    this$static.shim = null;
  }
}

function $hideUnders_0(this$static){
  $hideShadow_0(this$static);
  $hideShim(this$static);
}

function $setShadowOffset(this$static, shadowOffset){
  this$static.shadowOffset = shadowOffset;
  $setShadowPosition(this$static, this$static.shadowPosition);
}

function $setShadowPosition(this$static, shadowPosition){
  var radius;
  this$static.shadowPosition = shadowPosition;
  radius = ~~(this$static.shadowOffset / 2);
  this$static.shadowAdjusts = new Rectangle;
  switch (shadowPosition.ordinal) {
    case 1:
      this$static.shadowAdjusts.width = this$static.shadowOffset * 2;
      this$static.shadowAdjusts.x = -this$static.shadowOffset;
      this$static.shadowAdjusts.y = this$static.shadowOffset - 1;
      if ($clinit_0() , isIE_0) {
        this$static.shadowAdjusts.x -= this$static.shadowOffset - radius;
        this$static.shadowAdjusts.y -= this$static.shadowOffset + radius;
        this$static.shadowAdjusts.x += 1;
        this$static.shadowAdjusts.width -= (this$static.shadowOffset - radius) * 2;
        this$static.shadowAdjusts.width -= radius + 1;
        this$static.shadowAdjusts.height -= 1;
      }

      break;
    case 2:
      this$static.shadowAdjusts.width = this$static.shadowAdjusts.height = this$static.shadowOffset * 2;
      this$static.shadowAdjusts.x = this$static.shadowAdjusts.y = -this$static.shadowOffset;
      this$static.shadowAdjusts.y += 1;
      this$static.shadowAdjusts.height -= 2;
      if ($clinit_0() , isIE_0) {
        this$static.shadowAdjusts.x -= this$static.shadowOffset - radius;
        this$static.shadowAdjusts.y -= this$static.shadowOffset - radius;
        this$static.shadowAdjusts.width -= this$static.shadowOffset + radius;
        this$static.shadowAdjusts.width += 1;
        this$static.shadowAdjusts.height -= this$static.shadowOffset + radius;
        this$static.shadowAdjusts.height += 3;
      }

      break;
    default:this$static.shadowAdjusts.width = 0;
      this$static.shadowAdjusts.x = this$static.shadowAdjusts.y = this$static.shadowOffset;
      this$static.shadowAdjusts.y -= 1;
      if ($clinit_0() , isIE_0) {
        this$static.shadowAdjusts.x -= this$static.shadowOffset + radius;
        this$static.shadowAdjusts.y -= this$static.shadowOffset + radius;
        this$static.shadowAdjusts.width -= radius;
        this$static.shadowAdjusts.height -= radius;
        this$static.shadowAdjusts.y += 1;
      }

  }
}

function $setVisibility_0(this$static, visible){
  $setStyleAttribute_0(computedStyle, this$static.dom_0, 'visibility', '' + (visible?'visible':'hidden'));
  if (visible) {
    $sync_1(this$static, true);
  }
   else {
    $hideShadow_0(this$static);
    $hideShim(this$static);
  }
  return this$static;
}

function $setVisible_1(this$static, visible){
  $setVisible(this$static, visible);
  if (visible) {
    $sync_1(this$static, true);
  }
   else {
    $hideShadow_0(this$static);
    $hideShim(this$static);
  }
  return this$static;
}

function $setZIndex_2(this$static, zIndex){
  this$static.dom_0.style['zIndex'] = '' + (0 > zIndex?0:zIndex);
  !!this$static.shadow && this$static.shadow.setZIndex(zIndex - 1);
  !!this$static.shim && this$static.shim.setZIndex(zIndex - 2);
  return this$static;
}

function $sync_1(this$static, show){
  var $e0, a, h, height, l, sh, sw, t, w, width;
  if ($isVisible(this$static, false) && (this$static.shadowEnabled || this$static.shimEnabled)) {
    w = this$static.dom_0.offsetWidth || 0;
    h = this$static.dom_0.offsetHeight || 0;
    l = parseInt(dynamicCast($getStyleAttribute_1(computedStyle, this$static.dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['left']))).map['left'], 1), 10) || 0;
    t = parseInt(dynamicCast($getStyleAttribute_1(computedStyle, this$static.dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['top']))).map['top'], 1), 10) || 0;
    if (this$static.shadowEnabled && !!$getParent(this$static)) {
      !this$static.shadow && (this$static.shadow = $getShadow(this$static));
      show && this$static.shadow.setVisible(true);
      this$static.shadow.setLeft(l + this$static.shadowAdjusts.x);
      this$static.shadow.setTop(t + this$static.shadowAdjusts.y);
      sw = w + this$static.shadowAdjusts.width;
      sh = h + this$static.shadowAdjusts.height;
      if ((this$static.shadow.dom_0.offsetWidth || 0) != sw || (this$static.shadow.dom_0.offsetHeight || 0) != sh) {
        $setSize_0(this$static.shadow, sw, sh, false);
        if (!($clinit_0() , isIE_0)) {
          width = 0 > sw - 12?0:sw - 12;
          fly_1($getChildNodes(this$static.shadow.dom_0.childNodes[0])[1], '_global').setWidth(width, false);
          fly_1($getChildNodes(this$static.shadow.dom_0.childNodes[1])[1], '_global').setWidth(width, false);
          fly_1($getChildNodes(this$static.shadow.dom_0.childNodes[2])[1], '_global').setWidth(width, false);
          height = 0 > sh - 12?0:sh - 12;
          fly_1(this$static.shadow.dom_0.childNodes[1], '_global').setHeight(height, false);
        }
      }
    }
    if (this$static.shimEnabled) {
      !this$static.shim && (this$static.shim = $getShim(this$static));
      show && this$static.shim.setVisible(true);
      a = !this$static.shadow?$Rectangle(new Rectangle, 0, 0, 0, 0):this$static.shadowAdjusts;
      if (($clinit_0() , isIE_0) && !!this$static.shadow && $isVisible(this$static.shadow, false)) {
        w += 8;
        h += 8;
      }
      try {
        this$static.shim.setLeft(min_1(l, l + a.x));
        this$static.shim.setTop(min_1(t, t + a.y));
        this$static.shim.setWidth(max_0(1, w + a.width), false);
        this$static.shim.setHeight(max_0(1, h + a.height), false);
      }
       catch ($e0) {
        $e0 = caught_0($e0);
        if (!instanceOf($e0, 54))
          throw $e0;
      }
    }
  }
  return this$static;
}

function getClass_150(){
  return Lcom_extjs_gxt_ui_client_widget_Layer_2_classLit;
}

function remove_8(){
  $removeFromParent(this);
  $hideShadow_0(this);
  $hideShim(this);
  return this;
}

function setHeight_1(height, adjust){
  $setHeight(this, height, adjust);
  $sync_1(this, true);
  return this;
}

function setHeight_2(height){
  this.dom_0.style['height'] = addUnits(height, 'px');
  $sync_1(this, true);
  return this;
}

function setLeft_0(left){
  return this.dom_0.style['left'] = left + ($clinit_318() , 'px') , $sync_1(this, true) , this;
}

function setTop_0(top_0){
  return this.dom_0.style['top'] = top_0 + ($clinit_318() , 'px') , $sync_1(this, true) , this;
}

function setVisibility_0(visible){
  return $setVisibility_0(this, visible);
}

function setVisible_0(visible){
  return $setVisible_1(this, visible);
}

function setWidth_1(width, adjust){
  $setWidth(this, width, adjust);
  $sync_1(this, true);
  return this;
}

function setWidth_2(width){
  this.dom_0.style['width'] = addUnits(width, 'px');
  $sync_1(this, true);
  return this;
}

function setZIndex_0(zIndex){
  return $setZIndex_2(this, zIndex);
}

function Layer(){
}

_ = Layer.prototype = new El;
_.getClass$ = getClass_150;
_.remove = remove_8;
_.setHeight = setHeight_1;
_.setHeight_0 = setHeight_2;
_.setLeft = setLeft_0;
_.setTop = setTop_0;
_.setVisibility = setVisibility_0;
_.setVisible = setVisible_0;
_.setWidth = setWidth_1;
_.setWidth_0 = setWidth_2;
_.setZIndex = setZIndex_0;
_.typeId$ = 108;
_.shadow = null;
_.shadowAdjusts = null;
_.shadowEnabled = false;
_.shadowOffset = 4;
_.shadowPosition = null;
_.shim = null;
_.shimEnabled = false;
var shadows, shims;
function $clinit_176(){
  $clinit_176 = nullMethod;
  DROP = $Layer$ShadowPosition(new Layer$ShadowPosition, 'DROP', 0);
  SIDES = $Layer$ShadowPosition(new Layer$ShadowPosition, 'SIDES', 1);
  FRAME = $Layer$ShadowPosition(new Layer$ShadowPosition, 'FRAME', 2);
}

function $Layer$ShadowPosition(this$static, enum$name, enum$ordinal){
  $clinit_176();
  this$static.name_0 = enum$name;
  this$static.ordinal = enum$ordinal;
  return this$static;
}

function getClass_151(){
  return Lcom_extjs_gxt_ui_client_widget_Layer$ShadowPosition_2_classLit;
}

function values_12(){
  $clinit_176();
  return initValues(_3Lcom_extjs_gxt_ui_client_widget_Layer$ShadowPosition_2_classLit, 316, 17, [DROP, SIDES, FRAME]);
}

function Layer$ShadowPosition(){
}

_ = Layer$ShadowPosition.prototype = new Enum;
_.getClass$ = getClass_151;
_.typeId$ = 109;
var DROP, FRAME, SIDES;
function $getSideMargins(c){
  var data;
  if ($clinit_0() , isWebKit) {
    data = dynamicCast($getData(c, 'layoutData'), 72);
    if (!!data && data != null && canCast(data.typeId$, 73)) {
      dynamicCast(data, 73);
      return 0;
    }
  }
   else {
    return $getMargins(c.el, 'lr');
  }
  return 0;
}

function $initTarget(this$static){
  if (!this$static.target_0) {
    this$static.target_0 = this$static.container.getLayoutTarget();
    $addStyleName(this$static.target_0, initValues(_3Ljava_lang_String_2_classLit, 340, 1, [this$static.targetStyleName]));
  }
}

function $isValidParent(elem, parent_0){
  return !!parent_0 && $isOrHasChild_0(($clinit_308() , parent_0), elem);
}

function $layout_3(this$static){
  if (!!this$static.container && this$static.container.rendered && !this$static.running) {
    if ($fireEvent(this$static, ($clinit_56() , BeforeLayout), $LayoutEvent(new LayoutEvent, this$static))) {
      this$static.running = true;
      this$static.initTarget();
      this$static.onLayout(this$static.container, this$static.target_0);
      this$static.running = false;
      $fireEvent(this$static, AfterLayout, $LayoutEvent(new LayoutEvent, this$static));
    }
  }
}

function $onAdd(this$static, component){
  component.rendered?(this$static.componentStyleName != null && $addStyleName_0(component, this$static.componentStyleName) , undefined):($addListener(component.observable, ($clinit_56() , Render), this$static.componentListener) , undefined);
  $addListener(component.observable, ($clinit_56() , Show), this$static.componentListener);
  $addListener(component.observable, Hide, this$static.componentListener);
}

function $onComponentRender(this$static, component){
  this$static.componentStyleName != null && $addStyleName_0(component, this$static.componentStyleName);
}

function $onLayout(this$static, container, target){
  var component, component$iterator, data;
  $renderAll_0(this$static, container, target);
  for (component$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, container.items); component$iterator.i < component$iterator.this$0_0.size_0();) {
    component = dynamicCast($next_4(component$iterator), 63);
    data = dynamicCast($getData(component, 'layoutData'), 72);
    !!data && data != null && canCast(data.typeId$, 73) && dynamicCast(data, 73);
  }
}

function $onRemove_0(this$static, component){
  this$static.activeItem == component && (this$static.activeItem = null);
  this$static.componentStyleName != null && $removeStyleName_2(component, this$static.componentStyleName);
  $removeListener(component.observable, ($clinit_56() , Render), this$static.componentListener);
  $removeListener(component.observable, Show, this$static.componentListener);
  $removeListener(component.observable, Hide, this$static.componentListener);
}

function $renderAll_0(this$static, container, target){
  var c, count, i;
  count = container.items.size;
  for (i = 0; i < count; ++i) {
    c = i < container.items.size?dynamicCast($get_9(container.items, i), 63):null;
    (!c.rendered || !this$static.isValidParent(c.el.dom_0, target.dom_0)) && this$static.renderComponent(c, i, target);
  }
}

function $renderComponent(this$static, component, index, target){
  component.rendered?$insertChild(target, component.el.dom_0, index):$render(component, target.dom_0, index);
  this$static.renderHidden && component != this$static.activeItem && component.hide();
}

function $setContainer(this$static, ct){
  var c, c$iterator;
  !this$static.containerListener && (this$static.containerListener = $Layout$2(new Layout$2, this$static));
  if (this$static.container != ct) {
    if (this$static.container) {
      if (this$static.target_0) {
        $removeStyleName_1(this$static.target_0, this$static.targetStyleName);
        this$static.target_0 = null;
      }
      $removeListener(this$static.container.observable, ($clinit_56() , Remove), this$static.containerListener);
      $removeListener(this$static.container.observable, Add, this$static.containerListener);
      $removeListener(this$static.container.observable, Resize, this$static.containerListener);
      !!this$static.resizeTask && $cancel(this$static.resizeTask.timer);
      for (c$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.container.items); c$iterator.i < c$iterator.this$0_0.size_0();) {
        c = dynamicCast($next_4(c$iterator), 63);
        this$static.onRemove(c);
      }
    }
    this$static.container = ct;
    if (ct) {
      $addListener(ct.observable, ($clinit_56() , Remove), this$static.containerListener);
      $addListener(ct.observable, Add, this$static.containerListener);
      !this$static.resizeTask && (this$static.resizeTask = $DelayedTask(new DelayedTask, $Layout$3(new Layout$3, this$static)));
      $addListener(ct.observable, Resize, this$static.containerListener);
      for (c$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.container.items); c$iterator.i < c$iterator.this$0_0.size_0();) {
        c = dynamicCast($next_4(c$iterator), 63);
        $onAdd(this$static, c);
      }
    }
  }
}

function $setSize_3(c, width, height){
  c != null && canCast(c.typeId$, 74)?$setSize_1(dynamicCast(c, 74), width, height):c.rendered && $setSize_0(($clinit_19() , fly_1(c.getElement(), '_global')), width, height, true);
}

function getClass_152(){
  return Lcom_extjs_gxt_ui_client_widget_Layout_2_classLit;
}

function initTarget(){
  $initTarget(this);
}

function isValidParent(elem, parent_0){
  return !!parent_0 && $isOrHasChild_0(($clinit_308() , parent_0), elem);
}

function onComponentHide(component){
}

function onComponentShow(component){
}

function onLayout(container, target){
  $onLayout(this, container, target);
}

function onRemove(component){
  $onRemove_0(this, component);
}

function renderComponent(component, index, target){
  component.rendered?$insertChild(target, component.el.dom_0, index):$render(component, target.dom_0, index);
  this.renderHidden && component != this.activeItem && component.hide();
}

function setContainer(ct){
  $setContainer(this, ct);
}

function Layout(){
}

_ = Layout.prototype = new BaseObservable;
_.getClass$ = getClass_152;
_.initTarget = initTarget;
_.isValidParent = isValidParent;
_.onComponentHide = onComponentHide;
_.onComponentShow = onComponentShow;
_.onLayout = onLayout;
_.onRemove = onRemove;
_.renderComponent = renderComponent;
_.setContainer = setContainer;
_.typeId$ = 0;
_.activeItem = null;
_.componentStyleName = null;
_.container = null;
_.containerListener = null;
_.monitorResize = false;
_.renderHidden = false;
_.resizeTask = null;
_.running = false;
_.target_0 = null;
_.targetStyleName = null;
function $Layout$1(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $handleEvent_12(this$static, be){
  var type;
  type = be.type_0;
  type == ($clinit_56() , Render)?$onComponentRender(this$static.this$0, be.component):type == Show?this$static.this$0.onComponentShow(be.component):type == Hide && this$static.this$0.onComponentHide(be.component);
}

function getClass_153(){
  return Lcom_extjs_gxt_ui_client_widget_Layout$1_2_classLit;
}

function handleEvent_13(p0){
  $handleEvent_12(this, dynamicCast(p0, 48));
}

function Layout$1(){
}

_ = Layout$1.prototype = new Object_0;
_.getClass$ = getClass_153;
_.handleEvent = handleEvent_13;
_.typeId$ = 110;
_.this$0 = null;
function $Layout$2(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $handleEvent_13(this$static, be){
  be.type_0 == ($clinit_56() , Remove)?this$static.this$0.onRemove(dynamicCast(be, 75).item):be.type_0 == Resize?this$static.this$0.monitorResize && $delay(this$static.this$0.resizeTask, 0):be.type_0 == Add && $onAdd(this$static.this$0, dynamicCast(be, 75).item);
}

function getClass_154(){
  return Lcom_extjs_gxt_ui_client_widget_Layout$2_2_classLit;
}

function handleEvent_14(p0){
  $handleEvent_13(this, dynamicCast(p0, 48));
}

function Layout$2(){
}

_ = Layout$2.prototype = new Object_0;
_.getClass$ = getClass_154;
_.handleEvent = handleEvent_14;
_.typeId$ = 111;
_.this$0 = null;
function $Layout$3(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function getClass_155(){
  return Lcom_extjs_gxt_ui_client_widget_Layout$3_2_classLit;
}

function handleEvent_15(be){
  !!this.this$0.container && $layout_3(this.this$0);
}

function Layout$3(){
}

_ = Layout$3.prototype = new Object_0;
_.getClass$ = getClass_155;
_.handleEvent = handleEvent_15;
_.typeId$ = 112;
_.this$0 = null;
function $clinit_181(){
  $clinit_181 = nullMethod;
  $clinit_139();
  modalStack = $Stack(new Stack);
}

function $ModalPanel(this$static){
  $clinit_181();
  $BoxComponent(this$static);
  this$static.baseStyle = 'x-modal';
  this$static.shim = true;
  this$static.shadow = false;
  this$static.monitorWindowResize = true;
  return this$static;
}

function $hide_4(this$static){
  $hide_0(this$static);
  this$static.el.setZIndex(-1);
  $clinit_0();
  ariaEnabled && $sync(get(), this$static);
  this$static.component = null;
  if (this$static.eventPreview) {
    $clear(this$static.eventPreview.ignoreList.items);
    $remove_5(this$static.eventPreview);
  }
  $remove_12(($clinit_465() , get_8(null)), this$static);
}

function $show_3(this$static, component){
  this$static.component = component;
  $add_10(($clinit_465() , get_8(null)), this$static);
  $makePositionable(this$static.el, true);
  $updateZIndex(this$static.el, 0);
  $updateZIndex(component.el, 0);
  $show_0(this$static);
  $clear(this$static.eventPreview.ignoreList.items);
  $add(this$static.eventPreview.ignoreList, $getElement_0(component));
  $add_1(this$static.eventPreview);
  $syncModal(this$static);
}

function $syncModal(this$static){
  var h, w, scrollWidth, scrollHeight;
  $setSize_1(this$static, 0, 0);
  w = ($clinit_34() , scrollWidth = $doc.compatMode != 'CSS1Compat'?$doc.body.scrollWidth:$doc.documentElement.scrollWidth , Math.max(scrollWidth, getViewportWidth()));
  h = (scrollHeight = $doc.compatMode != 'CSS1Compat'?$doc.body.scrollHeight:$doc.documentElement.scrollHeight , Math.max(scrollHeight, getViewportHeight()));
  $setSize_1(this$static, w, h);
}

function doAttachChildren_7(){
  $doAttachChildren_0(this);
  doAttach(this.component);
}

function doDetachChildren_7(){
  $doDetachChildren_0(this);
  doDetach(this.component);
}

function getClass_156(){
  return Lcom_extjs_gxt_ui_client_widget_ModalPanel_2_classLit;
}

function hide_2(){
  $hide_4(this);
}

function onDetach_3(){
  $onDetach_0(this);
  $onDetachHelper(this);
  !!this.eventPreview && $remove_5(this.eventPreview);
}

function onRender_11(target, index){
  $setElement_1(this, ($clinit_308() , $doc).createElement('div'), target, index);
  this.eventPreview = $ModalPanel$1(new ModalPanel$1, this);
  this.eventPreview.autoHide = false;
}

function onWindowResize_1(width, height){
  $syncModal(this);
}

function push(panel){
  $clinit_181();
  $hide_4(panel);
  $add_13(modalStack.arrayList, panel);
}

function ModalPanel(){
}

_ = ModalPanel.prototype = new BoxComponent;
_.doAttachChildren = doAttachChildren_7;
_.doDetachChildren = doDetachChildren_7;
_.getClass$ = getClass_156;
_.hide = hide_2;
_.onDetach = onDetach_3;
_.onRender = onRender_11;
_.onWindowResize = onWindowResize_1;
_.typeId$ = 113;
_.blink = false;
_.blinking = false;
_.component = null;
_.eventPreview = null;
var modalStack;
function $ModalPanel$1(this$static, this$0){
  this$static.this$0 = this$0;
  this$static.ignoreList = $CompositeElement(new CompositeElement);
  return this$static;
}

function getClass_157(){
  return Lcom_extjs_gxt_ui_client_widget_ModalPanel$1_2_classLit;
}

function onPreview_3(pe){
  if ((!pe.event_0?-1:$eventGetTypeInt(($clinit_308() , pe.event_0).type)) == 4 && $isOrHasChild_1($getElement_0(this.this$0), !pe.event_0?null:($clinit_308() , pe.event_0).target) && !$findParent(fly_1(!pe.event_0?null:($clinit_308() , pe.event_0).target, 'component'), '.x-ignore', -1)) {
    if (this.this$0.blink && !this.this$0.blinking) {
      this.this$0.blinking = true;
      blink_0(this.this$0.component.el, $FxConfig_0(new FxConfig, $ModalPanel$1$1(new ModalPanel$1$1, this)), 50);
    }
     else 
      !this.this$0.blink && $focus_1(this.this$0.component);
  }
  return $onPreview(this, pe);
}

function ModalPanel$1(){
}

_ = ModalPanel$1.prototype = new BaseEventPreview;
_.getClass$ = getClass_157;
_.onPreview = onPreview_3;
_.typeId$ = 114;
_.this$0 = null;
function $ModalPanel$1$1(this$static, this$1){
  this$static.this$1 = this$1;
  return this$static;
}

function $handleEvent_14(this$static){
  this$static.this$1.this$0.blinking = false;
  $focus_1(this$static.this$1.this$0.component);
}

function getClass_158(){
  return Lcom_extjs_gxt_ui_client_widget_ModalPanel$1$1_2_classLit;
}

function handleEvent_16(p0){
  $handleEvent_14(this, dynamicCast(p0, 69));
}

function ModalPanel$1$1(){
}

_ = ModalPanel$1$1.prototype = new Object_0;
_.getClass$ = getClass_158;
_.handleEvent = handleEvent_16;
_.typeId$ = 115;
_.this$1 = null;
function $Popup$1(this$static, this$0){
  this$static.this$0 = this$0;
  this$static.ignoreList = $CompositeElement(new CompositeElement);
  return this$static;
}

function getClass_159(){
  return Lcom_extjs_gxt_ui_client_widget_Popup$1_2_classLit;
}

function onAutoHide_0(ce){
  $setExpanded(this.this$0.this$0, false);
  return false;
}

function Popup$1(){
}

_ = Popup$1.prototype = new BaseEventPreview;
_.getClass$ = getClass_159;
_.onAutoHide = onAutoHide_0;
_.typeId$ = 116;
_.this$0 = null;
function $Popup$2(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $handleEvent_15(this$static){
  $afterHide(this$static.this$0);
}

function getClass_160(){
  return Lcom_extjs_gxt_ui_client_widget_Popup$2_2_classLit;
}

function handleEvent_17(p0){
  $handleEvent_15(this, dynamicCast(p0, 69));
}

function Popup$2(){
}

_ = Popup$2.prototype = new Object_0;
_.getClass$ = getClass_160;
_.handleEvent = handleEvent_17;
_.typeId$ = 117;
_.this$0 = null;
function $Popup$3(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $handleEvent_16(this$static){
  $afterShow(this$static.this$0);
}

function getClass_161(){
  return Lcom_extjs_gxt_ui_client_widget_Popup$3_2_classLit;
}

function handleEvent_18(p0){
  $handleEvent_16(this, dynamicCast(p0, 69));
}

function Popup$3(){
}

_ = Popup$3.prototype = new Object_0;
_.getClass$ = getClass_161;
_.handleEvent = handleEvent_18;
_.typeId$ = 118;
_.this$0 = null;
function $Shim(this$static){
  this$static.shims = $ArrayList(new ArrayList);
  return this$static;
}

function $cover(this$static, shimIframes){
  var elements;
  if (shimIframes) {
    elements = ($clinit_18() , $clinit_18() , $wnd.GXT.Ext.DomQuery.select('iframe:not(.x-noshim)', getBodyEl().dom_0));
    $shim(this$static, elements);
    elements = $wnd.GXT.Ext.DomQuery.select('object:not(.x-noshim)', getBodyEl().dom_0);
    $shim(this$static, elements);
    elements = $wnd.GXT.Ext.DomQuery.select('applet:not(.x-noshim)', getBodyEl().dom_0);
    $shim(this$static, elements);
    elements = $wnd.GXT.Ext.DomQuery.select('embed:not(.x-noshim)', getBodyEl().dom_0);
    $shim(this$static, elements);
  }
   else {
    $add_13(this$static.shims, $createShim_0(null, 0, 0, $getClientWidth($doc), $getClientHeight($doc)));
  }
}

function $createShim_0(element, left, top_0, width, height){
  var parent_0, shim, e, parent_1;
  shim = $Layer(new Layer);
  $setVisible_1(shim, false);
  shim.shimEnabled = true;
  $addStyleName(shim, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-drag-overlay']));
  $setSize_0(shim, width, height, false);
  shim.dom_0.style['left'] = left + ($clinit_318() , 'px');
  $sync_1(shim, true);
  shim.dom_0.style['top'] = top_0 + 'px';
  $sync_1(shim, true);
  shim.dom_0.innerHTML = '&#160;';
  parent_0 = null;
  !!element && (parent_0 = (e = (parent_1 = ($clinit_308() , ($clinit_19() , fly_1(element, '_global')).dom_0).parentNode , (!parent_1 || parent_1.nodeType != 1) && (parent_1 = null) , parent_1) , !e?null:$El(new El, e)));
  parent_0?$appendChild(parent_0, shim.dom_0):($clinit_34() , $doc.body || $doc.documentElement).appendChild(shim.dom_0);
  $setVisible_1(shim, true);
  element?$setZIndex_2(shim, (parseInt(dynamicCast($getStyleAttribute_1(computedStyle, ($clinit_19() , fly_1(element, '_global')).dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['zIndex']))).map['zIndex'], 1), 10) || 0) + 1):$setZIndex_2(shim, ($clinit_34() , $clinit_34() , ++zIndexId));
  return shim;
}

function $setStyleAttribute_2(this$static, attr, value){
  var shim, shim$iterator;
  for (shim$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.shims); shim$iterator.i < shim$iterator.this$0_0.size_0();) {
    shim = dynamicCast($next_4(shim$iterator), 2);
    $setStyleAttribute_0(($clinit_19() , computedStyle), shim.dom_0, attr, '' + value);
  }
}

function $shim(this$static, elements){
  var bounds, e, i;
  for (i = 0; i < elements.length; ++i) {
    e = elements[i];
    if ((($clinit_308() , e).getAttribute('src') || '').length > 0 || !$equals_4(e.tagName.toLowerCase(), 'iframe')) {
      bounds = $getBounds(($clinit_19() , fly_1(e, '_global')), true, false);
      bounds.height > 0 && bounds.width > 0 && $isVisible(fly_1(e, '_global'), false) && $add_13(this$static.shims, $createShim_0(e, bounds.x, bounds.y, bounds.width, bounds.height));
    }
  }
}

function $uncover(this$static){
  while (this$static.shims.size != 0) {
    dynamicCast($get_9(this$static.shims, 0), 2).remove();
    $remove_19(this$static.shims, 0);
  }
}

function get_5(){
  !instance_6 && (instance_6 = $Shim(new Shim));
  return instance_6;
}

function getClass_162(){
  return Lcom_extjs_gxt_ui_client_widget_Shim_2_classLit;
}

function Shim(){
}

_ = Shim.prototype = new Object_0;
_.getClass$ = getClass_162;
_.typeId$ = 0;
var instance_6 = null;
function $clinit_188(){
  $clinit_188 = nullMethod;
  $clinit_139();
  attachedBars = $ArrayList(new ArrayList);
  $DelayedTask(new DelayedTask, new SplitBar$1);
}

--></script>
<script><!--
function $SplitBar(this$static, style, resizeWidget){
  var be, dragListener, e;
  $clinit_188();
  $BoxComponent(this$static);
  this$static.region = style;
  this$static.resizeWidget = resizeWidget;
  this$static.resizeEl = resizeWidget.el;
  this$static.listener = $SplitBar$2(new SplitBar$2, this$static);
  style == ($clinit_12() , SOUTH) || style == NORTH?$setStyleName_2(this$static, 'x-hsplitbar'):$setStyleName_2(this$static, 'x-vsplitbar');
  $addListener(resizeWidget.observable, ($clinit_56() , Attach), this$static.listener);
  $addListener(resizeWidget.observable, Detach, this$static.listener);
  $addListener(resizeWidget.observable, Resize, this$static.listener);
  $addListener(resizeWidget.observable, Move, this$static.listener);
  this$static.draggable = $Draggable(new Draggable, this$static);
  this$static.draggable.startDragDistance = 0;
  this$static.draggable.proxyStyle = 'x-splitbar-proxy';
  dragListener = $SplitBar$3(new SplitBar$3, this$static);
  $addListener(this$static.draggable, DragStart, dragListener);
  $addListener(this$static.draggable, DragEnd, dragListener);
  $addListener(this$static.draggable, DragCancel, dragListener);
  $render(this$static, ($clinit_308() , $doc).createElement('div'), -1);
  if (resizeWidget.isAttached()) {
    be = (e = $SplitBarEvent(new SplitBarEvent, this$static) , e.event_0 = null , e);
    be.type_0 = Attach;
    $handleEvent_18(this$static.listener, be);
  }
  this$static.delay = $DelayedTask(new DelayedTask, $SplitBar$4(new SplitBar$4, this$static));
  return this$static;
}

function $onCancelDrag(this$static){
  this$static.resizeWidget.disableEvents = !true;
  $sync_2(this$static);
}

function $onEndDrag(this$static, bee){
  var be, diffX, diffY, height, width, x, y;
  x = bee.x;
  y = bee.y;
  width = parseInt(this$static.resizeWidget.getElement()['offsetWidth']) || 0;
  height = parseInt(this$static.resizeWidget.getElement()['offsetHeight']) || 0;
  diffY = y - this$static.startBounds.y;
  diffX = x - this$static.startBounds.x;
  this$static.resizeWidget.disableEvents = !true;
  be = $SplitBarEvent(new SplitBarEvent, this$static);
  switch (this$static.region.ordinal) {
    case 0:
      {
        be.size = height - diffY;
        this$static.autoSize && $setXY(this$static.resizeEl, $Point(new Point, -1, y)).setHeight(height, false);
        break;
      }

    case 2:
      {
        be.size = height + diffY;
        this$static.autoSize && $setSize_1(this$static.resizeWidget, -1, diffY);
        break;
      }

    case 3:
      {
        be.size = width - diffX;
        if (this$static.autoSize) {
          $setXY(this$static.el, $Point(new Point, x, -1));
          $setSize_1(this$static.resizeWidget, width - diffX, -1);
        }
        break;
      }

    case 1:
      {
        be.size = width + diffX;
        this$static.autoSize && $setSize_1(this$static.resizeWidget, diffX, -1);
        break;
      }

  }
  $fireEvent_2(this$static, ($clinit_56() , DragEnd), be);
}

function $onStartDrag(this$static, de){
  var c1, c2, se, size, v;
  this$static.region == ($clinit_12() , WEST) || this$static.region == EAST?(de.width = 2):(de.height = 2);
  se = $SplitBarEvent(new SplitBarEvent, this$static);
  $fireEvent_2(this$static, ($clinit_56() , DragStart), se);
  this$static.resizeWidget.disableEvents = !false;
  this$static.startBounds = new Rectangle;
  this$static.startBounds.y = de.y;
  this$static.startBounds.x = de.x;
  v = this$static.region == WEST || this$static.region == EAST;
  v?(size = this$static.resizeEl.dom_0.offsetWidth || 0):(size = this$static.resizeEl.dom_0.offsetHeight || 0);
  c1 = size - this$static.minSize;
  size < this$static.minSize && (c1 = 0);
  c2 = max_0(this$static.maxSize - size, 0);
  if (v) {
    this$static.draggable.constrainVertical = true;
    $setXConstraint(this$static.draggable, this$static.region == WEST?c2:c1, this$static.region == WEST?c1:c2);
  }
   else {
    this$static.draggable.constrainHorizontal = true;
    $setYConstraint(this$static.draggable, this$static.region == NORTH?c2:c1, this$static.region == NORTH?c1:c2);
  }
}

function $release_1(this$static){
  $removeListener(this$static.resizeWidget.observable, ($clinit_56() , Attach), this$static.listener);
  $removeListener(this$static.resizeWidget.observable, Detach, this$static.listener);
  $removeListener(this$static.resizeWidget.observable, Resize, this$static.listener);
  !!this$static && this$static.isAttached() && (this$static.onDetach() , undefined);
  $removeFromParent(this$static.el);
  $remove_20(attachedBars, this$static);
  $release(this$static.draggable);
}

function $removeSplitBar(this$static){
  !!this$static && this$static.isAttached() && (this$static.onDetach() , undefined);
  $removeFromParent(this$static.el);
  $remove_20(attachedBars, this$static);
}

function $sync_2(this$static){
  var h, rect, w, x, y;
  if (!this$static.attached || !this$static.resizeWidget.isAttached()) {
    return;
  }
  rect = $getBounds(this$static.resizeEl, false, false);
  x = rect.x;
  y = rect.y;
  if (!($clinit_0() , isBorderBox_0)) {
    y -= $getFrameWidth(this$static.resizeEl, 't');
    x -= $getFrameWidth(this$static.resizeEl, 'l');
  }
  w = rect.width;
  h = rect.height;
  switch (this$static.region.ordinal) {
    case 2:
      $setBounds(this$static.el, x, y + h, w, 5, false);
      break;
    case 3:
      $setBounds(this$static.el, x - 5, y, 5, h, false);
      break;
    case 0:
      $setBounds(this$static.el, x, y - 5, w, 5, false);
      break;
    case 1:
      $setBounds(this$static.el, x + w, y, 5, h, false);
  }
}

function createComponentEvent_3(event_0){
  var e;
  return e = $SplitBarEvent(new SplitBarEvent, this) , e.event_0 = event_0 , e;
}

function getClass_163(){
  return Lcom_extjs_gxt_ui_client_widget_SplitBar_2_classLit;
}

function onRender_12(target, index){
  $setElement_0(this, ($clinit_308() , $doc).createElement('div'));
  this.disableTextSelection = 1;
  this.isAttached() && $disableTextSelection(this.el, true);
  $makePositionable(this.el, true);
  this.rendered?$sinkEvents(this, 124):(this.events |= 124);
}

function SplitBar(){
}

_ = SplitBar.prototype = new BoxComponent;
_.createComponentEvent = createComponentEvent_3;
_.getClass$ = getClass_163;
_.onRender = onRender_12;
_.typeId$ = 119;
_.autoSize = true;
_.delay = null;
_.draggable = null;
_.listener = null;
_.maxSize = 2000;
_.minSize = 10;
_.region = null;
_.resizeEl = null;
_.resizeWidget = null;
_.startBounds = null;
var attachedBars = null;
function $handleEvent_17(){
  var bar, count, i;
  count = ($clinit_188() , attachedBars).size;
  for (i = 0; i < count; ++i) {
    bar = dynamicCast($get_9(attachedBars, i), 62);
    $sync_2(bar);
  }
}

function getClass_164(){
  return Lcom_extjs_gxt_ui_client_widget_SplitBar$1_2_classLit;
}

function handleEvent_19(p0){
  $handleEvent_17(dynamicCast(p0, 48));
}

function SplitBar$1(){
}

_ = SplitBar$1.prototype = new Object_0;
_.getClass$ = getClass_164;
_.handleEvent = handleEvent_19;
_.typeId$ = 120;
function $SplitBar$2(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $handleEvent_18(this$static, e){
  var type;
  type = e.type_0;
  if (type == ($clinit_56() , Attach)) {
    if (!this$static.this$0.disabled) {
      $insertLast($getParent(this$static.this$0.resizeEl), $getElement_0(this$static.this$0));
      doAttach(this$static.this$0);
      $sync_2(this$static.this$0);
      $add_13(($clinit_188() , attachedBars), this$static.this$0);
    }
  }
   else 
    type == Detach?!this$static.this$0.disabled && $removeSplitBar(this$static.this$0):(type == Resize || type == Move) && $delay(this$static.this$0.delay, 400);
}

function getClass_165(){
  return Lcom_extjs_gxt_ui_client_widget_SplitBar$2_2_classLit;
}

function handleEvent_20(p0){
  $handleEvent_18(this, dynamicCast(p0, 48));
}

function SplitBar$2(){
}

_ = SplitBar$2.prototype = new Object_0;
_.getClass$ = getClass_165;
_.handleEvent = handleEvent_20;
_.typeId$ = 121;
_.this$0 = null;
function $SplitBar$3(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $handleEvent_20(this$static, e){
  var type;
  type = e.type_0;
  type == ($clinit_56() , DragStart)?$onStartDrag(this$static.this$0, e):type == DragEnd?$onEndDrag(this$static.this$0, e):type == DragCancel && $onCancelDrag(this$static.this$0);
}

function getClass_166(){
  return Lcom_extjs_gxt_ui_client_widget_SplitBar$3_2_classLit;
}

function handleEvent_21(p0){
  $handleEvent_20(this, dynamicCast(p0, 47));
}

function SplitBar$3(){
}

_ = SplitBar$3.prototype = new Object_0;
_.getClass$ = getClass_166;
_.handleEvent = handleEvent_21;
_.typeId$ = 122;
_.this$0 = null;
function $SplitBar$4(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $handleEvent_21(this$static){
  $sync_2(this$static.this$0);
}

function getClass_167(){
  return Lcom_extjs_gxt_ui_client_widget_SplitBar$4_2_classLit;
}

function handleEvent_22(p0){
  $handleEvent_21(this, dynamicCast(p0, 48));
}

function SplitBar$4(){
}

_ = SplitBar$4.prototype = new Object_0;
_.getClass$ = getClass_167;
_.handleEvent = handleEvent_22;
_.typeId$ = 123;
_.this$0 = null;
function $clinit_193(){
  $clinit_193 = nullMethod;
  $clinit_139();
}

function $Status(this$static){
  $clinit_193();
  $BoxComponent(this$static);
  this$static.baseStyle = 'x-status';
  return this$static;
}

function $autoWidth(this$static){
  var adj, w;
  if (this$static.rendered && this$static.autoWidth) {
    $setSize_2(this$static, 'auto', 'undefined');
    if ($clinit_0() , isIE_0) {
      if (this$static.textEl) {
        $clip(this$static.textEl);
        $bind_0(get_4(), $El(new El, this$static.textEl.dom_0));
        adj = this$static.iconStyle != null?25:0;
        w = $getWidth_0(get_4(), this$static.text) + adj + 5;
        this$static.textEl.setWidth(w, true);
      }
    }
  }
}

function $setBox(this$static, box){
  this$static.box = box;
  this$static.rendered && (box?$addStyleName_0(this$static, 'x-status-text-panel'):$removeStyleName_2(this$static, 'x-status-text-panel'));
}

function $setBusy(this$static, text){
  $setIconStyle(this$static, 'x-status-busy');
  $setText_0(this$static, text);
}

function $setIconStyle(this$static, iconStyle){
  if (this$static.iconStyle != iconStyle) {
    if (this$static.rendered) {
      if (this$static.iconStyle != null) {
        $removeStyleName_1(this$static.textEl, 'x-status-icon');
        $removeStyleName_1(this$static.textEl, this$static.iconStyle);
      }
      if (iconStyle != null) {
        $addStyleName(this$static.textEl, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-status-icon']));
        $addStyleName(this$static.textEl, initValues(_3Ljava_lang_String_2_classLit, 340, 1, [iconStyle]));
      }
      $autoWidth(this$static);
    }
    this$static.iconStyle = iconStyle;
  }
}

function $setText_0(this$static, text){
  if (this$static.text != text) {
    this$static.text = text;
    if (this$static.rendered) {
      $update(this$static.textEl, text == null || text.length == 0?'&nbsp;':text);
      $autoWidth(this$static);
    }
  }
}

function getClass_168(){
  return Lcom_extjs_gxt_ui_client_widget_Status_2_classLit;
}

function onRender_13(target, index){
  var iconStyle, text;
  $setElement_1(this, ($clinit_308() , $doc).createElement('div'), target, index);
  this.textEl = $El(new El, $doc.createElement('span'));
  $addStyleName(this.textEl, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-status-text']));
  $getElement_0(this).appendChild(this.textEl.dom_0);
  this.disableTextSelection = 1;
  this.isAttached() && $disableTextSelection(this.el, true);
  $setBox(this, this.box);
  text = this.text;
  iconStyle = this.iconStyle;
  this.text = null;
  this.iconStyle = null;
  $setText_0(this, text);
  $setIconStyle(this, iconStyle);
}

function Status(){
}

_ = Status.prototype = new BoxComponent;
_.getClass$ = getClass_168;
_.onRender = onRender_13;
_.typeId$ = 124;
_.box = false;
_.iconStyle = null;
_.text = null;
_.textEl = null;
function $clinit_194(){
  $clinit_194 = nullMethod;
  $clinit_142();
}

function $Viewport(this$static){
  $clinit_194();
  $LayoutContainer(this$static);
  this$static.monitorWindowResize = true;
  this$static.baseStyle = 'x-viewport';
  return this$static;
}

function $setEnableScroll(this$static, enableScroll){
  this$static.enableScroll = enableScroll;
  $enableScrolling($doc, enableScroll);
}

function getClass_169(){
  return Lcom_extjs_gxt_ui_client_widget_Viewport_2_classLit;
}

function onAttach_2(){
  $setEnableScroll(this, this.enableScroll);
  $setSize_1(this, $getClientWidth($doc), $getClientHeight($doc));
  $onAttach_2(this);
  hideLoadingPanel('loading');
}

function onRender_14(parent_0, index){
  $onRender_0(this, parent_0, 0);
}

function onWindowResize_2(width, height){
  $setSize_1(this, width, height);
}

function Viewport(){
}

_ = Viewport.prototype = new LayoutContainer;
_.getClass$ = getClass_169;
_.onAttach = onAttach_2;
_.onRender = onRender_14;
_.onWindowResize = onWindowResize_2;
_.typeId$ = 125;
_.enableScroll = false;
function $clinit_195(){
  $clinit_195 = nullMethod;
  $clinit_139();
}

function $WidgetComponent(this$static, widget){
  $clinit_195();
  $BoxComponent(this$static);
  removeFromParent_1(widget);
  this$static.widget = widget;
  widget.parent_0 = this$static;
  return this$static;
}

function $isAttached_0(this$static){
  if (this$static.widget) {
    return this$static.widget.isAttached();
  }
  return false;
}

function getClass_170(){
  return Lcom_extjs_gxt_ui_client_widget_WidgetComponent_2_classLit;
}

function getElement_1(){
  return this.widget.getElement();
}

function isAttached_0(){
  return $isAttached_0(this);
}

function onAttach_3(){
  doAttach(this.widget);
  this.widget.getElement().__listener = this;
  $onLoad_0(this);
}

function onBrowserEvent_3(event_0){
  $onBrowserEvent(this, event_0);
  this.widget.onBrowserEvent(event_0);
}

function onDetach_4(){
  try {
    $onUnload_0(this);
  }
   finally {
    doDetach(this.widget);
  }
  $onDetachHelper(this);
}

function onDisable_1(){
  $addStyleName_0(this, this.disabledStyle);
  this.widget.getElement()['disabled'] = true;
}

function onEnable_1(){
  $removeStyleName_2(this, this.disabledStyle);
  $clearOpacity(this.el);
  this.widget.getElement()['disabled'] = false;
}

function onRender_15(target, index){
  $setElement_1(this, this.widget.getElement(), target, index);
}

function WidgetComponent(){
}

_ = WidgetComponent.prototype = new BoxComponent;
_.getClass$ = getClass_170;
_.getElement = getElement_1;
_.isAttached = isAttached_0;
_.onAttach = onAttach_3;
_.onBrowserEvent = onBrowserEvent_3;
_.onDetach = onDetach_4;
_.onDisable = onDisable_1;
_.onEnable = onEnable_1;
_.onRender = onRender_15;
_.typeId$ = 126;
_.widget = null;
function $clinit_196(){
  $clinit_196 = nullMethod;
  $clinit_1();
}

function $Window$1(this$static, this$0){
  $clinit_196();
  this$static.this$0 = this$0;
  return this$static;
}

function getClass_171(){
  return Lcom_extjs_gxt_ui_client_widget_Window$1_2_classLit;
}

function run_3(){
  $doFocus(this.this$0);
}

function Window$1(){
}

_ = Window$1.prototype = new Timer;
_.getClass$ = getClass_171;
_.run = run_3;
_.typeId$ = 127;
_.this$0 = null;
function $Window$10(this$static, this$0){
  this$static.this$0 = this$0;
  this$static.ignoreList = $CompositeElement(new CompositeElement);
  return this$static;
}

function getClass_172(){
  return Lcom_extjs_gxt_ui_client_widget_Window$10_2_classLit;
}

function onAutoHide_1(ce){
  if (this.this$0.autoHide) {
    if (this.this$0.resizing) {
      return false;
    }
    $hide_3(this.this$0);
    return true;
  }
  return false;
}

function onPreviewKeyPress_0(pe){
  var we;
  we = $WindowEvent_0(new WindowEvent, this.this$0, pe.event_0);
  $onKeyPress(this.this$0, we);
}

function Window$10(){
}

_ = Window$10.prototype = new BaseEventPreview;
_.getClass$ = getClass_172;
_.onAutoHide = onAutoHide_1;
_.onPreviewKeyPress = onPreviewKeyPress_0;
_.typeId$ = 128;
_.this$0 = null;
function $Window$2(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function execute_1(){
  $doFocus(this.this$0);
}

function getClass_173(){
  return Lcom_extjs_gxt_ui_client_widget_Window$2_2_classLit;
}

function Window$2(){
}

_ = Window$2.prototype = new Object_0;
_.execute = execute_1;
_.getClass$ = getClass_173;
_.typeId$ = 129;
_.this$0 = null;
function $Window$3(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function dragEnd_0(de){
  $endDrag(this.this$0, de);
}

function dragMove_0(de){
}

function dragStart_0(de){
  $startDrag_0(this.this$0, de);
}

function getClass_174(){
  return Lcom_extjs_gxt_ui_client_widget_Window$3_2_classLit;
}

function Window$3(){
}

_ = Window$3.prototype = new DragListener;
_.dragEnd = dragEnd_0;
_.dragMove = dragMove_0;
_.dragStart = dragStart_0;
_.getClass$ = getClass_174;
_.typeId$ = 130;
_.this$0 = null;
function $Window$4(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function getClass_175(){
  return Lcom_extjs_gxt_ui_client_widget_Window$4_2_classLit;
}

function resizeEnd_0(re){
  addCommand($Window$4$1(new Window$4$1, this));
}

function resizeStart_0(re){
  this.this$0.resizing = true;
}

function Window$4(){
}

_ = Window$4.prototype = new ResizeListener;
_.getClass$ = getClass_175;
_.resizeEnd = resizeEnd_0;
_.resizeStart = resizeStart_0;
_.typeId$ = 131;
_.this$0 = null;
function $Window$4$1(this$static, this$1){
  this$static.this$1 = this$1;
  return this$static;
}

function execute_2(){
  this.this$1.this$0.resizing = false;
}

function getClass_176(){
  return Lcom_extjs_gxt_ui_client_widget_Window$4$1_2_classLit;
}

function Window$4$1(){
}

_ = Window$4$1.prototype = new Object_0;
_.execute = execute_2;
_.getClass$ = getClass_176;
_.typeId$ = 132;
_.this$1 = null;
function $Window$5(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function execute_3(){
  !!this.this$0.eventPreview && !!this.this$0.ghost && $remove(this.this$0.eventPreview.ignoreList, this.this$0.ghost.dom_0);
}

function getClass_177(){
  return Lcom_extjs_gxt_ui_client_widget_Window$5_2_classLit;
}

function Window$5(){
}

_ = Window$5.prototype = new Object_0;
_.execute = execute_3;
_.getClass$ = getClass_177;
_.typeId$ = 133;
_.this$0 = null;
function $Window$6(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $componentSelected_4(this$static){
  $minimize(this$static.this$0);
}

function componentSelected_4(p0){
  $componentSelected_4(this, dynamicCast(p0, 71));
}

function getClass_178(){
  return Lcom_extjs_gxt_ui_client_widget_Window$6_2_classLit;
}

function Window$6(){
}

_ = Window$6.prototype = new SelectionListener;
_.componentSelected = componentSelected_4;
_.getClass$ = getClass_178;
_.typeId$ = 134;
_.this$0 = null;
function $Window$7(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $componentSelected_5(this$static){
  $maximize(this$static.this$0);
}

function componentSelected_5(p0){
  $componentSelected_5(this, dynamicCast(p0, 71));
}

function getClass_179(){
  return Lcom_extjs_gxt_ui_client_widget_Window$7_2_classLit;
}

function Window$7(){
}

_ = Window$7.prototype = new SelectionListener;
_.componentSelected = componentSelected_5;
_.getClass$ = getClass_179;
_.typeId$ = 135;
_.this$0 = null;
function $Window$8(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $componentSelected_6(this$static){
  $restore(this$static.this$0);
}

function componentSelected_6(p0){
  $componentSelected_6(this, dynamicCast(p0, 71));
}

function getClass_180(){
  return Lcom_extjs_gxt_ui_client_widget_Window$8_2_classLit;
}

function Window$8(){
}

_ = Window$8.prototype = new SelectionListener;
_.componentSelected = componentSelected_6;
_.getClass$ = getClass_180;
_.typeId$ = 136;
_.this$0 = null;
function $Window$9(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $handleEvent_22(this$static){
  $hide_3(this$static.this$0);
}

function getClass_181(){
  return Lcom_extjs_gxt_ui_client_widget_Window$9_2_classLit;
}

function handleEvent_23(p0){
  $handleEvent_22(this, dynamicCast(p0, 48));
}

function Window$9(){
}

_ = Window$9.prototype = new Object_0;
_.getClass$ = getClass_181;
_.handleEvent = handleEvent_23;
_.typeId$ = 137;
_.this$0 = null;
function $WindowManager(this$static){
  this$static.accessList = $Stack(new Stack);
  this$static.comparator = new WindowManager$1;
  this$static.componentManagerListener = $WindowManager$2(new WindowManager$2, this$static);
  $addListener(($clinit_153() , $clinit_153() , instance_5), ($clinit_56() , Register), this$static.componentManagerListener);
  $addListener(instance_5, Unregister, this$static.componentManagerListener);
  return this$static;
}

function $activateLast(this$static){
  var i, w;
  for (i = this$static.accessList.arrayList.size - 1; i >= 0; --i) {
    w = dynamicCast($get_9(this$static.accessList.arrayList, i), 77);
    if ($isVisible_1(w, true)) {
      $setActiveWin(this$static, w);
      return;
    }
  }
  $setActiveWin(this$static, null);
}

function $bringToFront(this$static, window_0){
  if (window_0 != this$static.front) {
    $setData(window_0, '_gxtdate', valueOf_1(fromDouble((new Date).getTime())));
    $orderWindows(this$static, false);
    return true;
  }
  return false;
}

function $orderWindows(this$static, reverse){
  var i, w;
  if (this$static.accessList.arrayList.size > 0) {
    sort(this$static.accessList, this$static.comparator);
    reverse && reverse_0(this$static.accessList);
    for (i = 0; i < this$static.accessList.arrayList.size; ++i) {
      w = dynamicCast($get_9(this$static.accessList.arrayList, i), 77);
      $setZIndex_1(w, ($clinit_34() , $clinit_34() , zIndexId += 11 , $clinit_34() , zIndexId));
    }
    $activateLast(this$static);
  }
}

function $register_0(this$static, window_0){
  $add_13(this$static.accessList.arrayList, window_0);
  $setData(window_0, '_gxtdate', valueOf_1(fromDouble((new Date).getTime())));
  $fireEvent(this$static, ($clinit_56() , Register), new WindowManagerEvent);
}

function $setActiveWin(this$static, window_0){
  if (window_0 != this$static.front) {
    !!this$static.front && $setActive(this$static.front, false);
    this$static.front = window_0;
    if (window_0) {
      $setActive(window_0, true);
      $focus_1(window_0);
    }
  }
}

function $unregister_0(this$static, window_0){
  this$static.front == window_0 && (this$static.front = null);
  $remove_2(this$static.accessList, window_0);
  $activateLast(this$static);
  $fireEvent(this$static, ($clinit_56() , Unregister), new WindowManagerEvent);
}

function get_6(){
  !instance_7 && (instance_7 = $WindowManager(new WindowManager));
  return instance_7;
}

function getClass_182(){
  return Lcom_extjs_gxt_ui_client_widget_WindowManager_2_classLit;
}

function WindowManager(){
}

_ = WindowManager.prototype = new BaseObservable;
_.getClass$ = getClass_182;
_.typeId$ = 0;
_.accessList = null;
_.comparator = null;
_.componentManagerListener = null;
_.front = null;
var instance_7 = null;
function $compare(w1, w2){
  var d1, d2;
  d1 = dynamicCast($getData(w1, '_gxtdate'), 34);
  d2 = dynamicCast($getData(w2, '_gxtdate'), 34);
  return !d1 || compare_1(d1.value, d2.value) < 0?-1:1;
}

function compare_0(p0, p1){
  return $compare(dynamicCast(p0, 77), dynamicCast(p1, 77));
}

function getClass_183(){
  return Lcom_extjs_gxt_ui_client_widget_WindowManager$1_2_classLit;
}

function WindowManager$1(){
}

_ = WindowManager$1.prototype = new Object_0;
_.compare = compare_0;
_.getClass$ = getClass_183;
_.typeId$ = 0;
function $WindowManager$2(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $handleEvent_23(this$static, be){
  var w;
  if (instanceOf(be.component, 77)) {
    w = dynamicCast(be.component, 77);
    be.type_0 == ($clinit_56() , Register)?$register_0(this$static.this$0, w):be.type_0 == Unregister && $unregister_0(this$static.this$0, w);
  }
}

function getClass_184(){
  return Lcom_extjs_gxt_ui_client_widget_WindowManager$2_2_classLit;
}

function handleEvent_24(p0){
  $handleEvent_23(this, dynamicCast(p0, 78));
}

function WindowManager$2(){
}

_ = WindowManager$2.prototype = new Object_0;
_.getClass$ = getClass_184;
_.handleEvent = handleEvent_24;
_.typeId$ = 138;
_.this$0 = null;
function $clinit_210(){
  $clinit_210 = nullMethod;
  $clinit_139();
}

function $Button(this$static){
  $clinit_210();
  $BoxComponent(this$static);
  this$static.scale = ($clinit_7() , SMALL);
  this$static.arrowAlign = ($clinit_6() , RIGHT);
  this$static.iconAlign = ($clinit_11() , LEFT_1);
  this$static.baseStyle = 'x-btn';
  this$static.preview = $Button$1(new Button$1, this$static);
  return this$static;
}

function $Button_0(this$static, text){
  $clinit_210();
  $Button(this$static);
  $setText_1(this$static, text);
  return this$static;
}

function $Button_1(this$static, text, listener){
  $clinit_210();
  $Button(this$static);
  $setText_1(this$static, text);
  $addListener(this$static.observable, ($clinit_56() , Select), listener);
  return this$static;
}

function $autoWidth_0(this$static){
  var w;
  if (this$static.rendered && this$static.width == null && !!this$static.buttonEl) {
    w = 0;
    if (isEmptyString(this$static.text)) {
      this$static.buttonEl.dom_0.style['width'] = null;
      w = this$static.buttonEl.dom_0.offsetWidth || 0;
    }
     else {
      $bind_0(get_4(), this$static.buttonEl);
      w = $getWidth_0(get_4(), this$static.text);
      (($clinit_0() , isGecko) || isWebKit) && (w += 6);
      w += $getFrameWidth(this$static.buttonEl, 'lr');
    }
    w < this$static.minWidth - 6?this$static.buttonEl.setWidth(this$static.minWidth - 6, true):this$static.buttonEl.setWidth(w, true);
  }
}

function $getMenuClass(this$static){
  if (this$static.menu) {
    if (this$static.arrowAlign == ($clinit_6() , BOTTOM)) {
      return 'x-btn-arrow-bottom';
    }
     else {
      return 'x-btn-arrow';
    }
  }
   else {
    return '';
  }
}

function $onClick_2(this$static, ce){
  var be;
  $preventDefault(ce);
  $focus(this$static);
  !!this$static.toolTip && $hide_8(this$static.toolTip);
  if (!this$static.disabled) {
    be = $ButtonEvent(new ButtonEvent, this$static);
    if (!$fireEvent_2(this$static, ($clinit_56() , BeforeSelect), be)) {
      return;
    }
    !!this$static.menu && !this$static.menu.showing && $showMenu(this$static);
    $fireEvent_2(this$static, Select, be);
  }
}

function $onFocus_0(this$static){
  if (!this$static.disabled) {
    $addStyleName_0(this$static, this$static.baseStyle + '-focus');
    ($clinit_0() , $clinit_0() , ariaEnabled) && !isIE_0 && $frame(get(), this$static);
  }
}

function $onMenuHide(this$static){
  var be;
  $removeStyleName_2(this$static, this$static.baseStyle + '-menu-active');
  be = $ButtonEvent(new ButtonEvent, this$static);
  $fireEvent_2(this$static, ($clinit_56() , MenuHide), be);
  $focus(this$static);
}

function $onMenuShow(this$static){
  var be;
  $addStyleName_0(this$static, this$static.baseStyle + '-menu-active');
  be = $ButtonEvent(new ButtonEvent, this$static);
  $fireEvent_2(this$static, ($clinit_56() , MenuShow), be);
  $clinit_0();
  ariaEnabled && this$static.menu.items.size > 0 && $setActiveItem(this$static.menu, $getItem(this$static.menu, 0), false);
}

function $onMouseOut_0(this$static){
  $removeStyleName_2(this$static, this$static.baseStyle + '-click');
  $removeStyleName_2(this$static, this$static.baseStyle + '-over');
}

function $setIcon_1(this$static, icon){
  var align, e, oldIcon;
  if (this$static.rendered) {
    oldIcon = $selectNode(this$static.buttonEl, '.x-btn-image');
    if (oldIcon) {
      oldIcon.remove();
      $removeStyleName_0(this$static.el, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-btn-text-icon', 'x-btn-icon', 'x-btn-noicon']));
    }
    $addStyleName(this$static.el, initValues(_3Ljava_lang_String_2_classLit, 340, 1, [icon?isEmptyString(this$static.text)?' x-btn-icon':' x-btn-text-icon':' x-btn-noicon']));
    e = null;
    align = null;
    if (icon) {
      e = $createStructure(icon.url, icon.left_0, icon.top_0, icon.width, icon.height);
      e.setAttribute('role', 'presentation');
      $addStyleName(fly_1(e, 'component'), initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-btn-image']));
      $insertFirst(this$static.buttonEl, e);
      $makePositionable(($clinit_19() , fly_1(e, '_global')), true);
      this$static.iconAlign == ($clinit_11() , BOTTOM_0)?(align = 'b-b'):this$static.iconAlign == TOP?(align = 't-t'):this$static.iconAlign == LEFT_1?(align = 'l-l'):this$static.iconAlign == RIGHT_2 && (align = 'r-r');
    }
    $autoWidth_0(this$static);
    !!e && $alignTo(($clinit_19() , fly_1(e, '_global')), this$static.buttonEl.dom_0, align, null);
  }
  this$static.icon = icon;
}

function $setMenu(this$static, menu){
  !this$static.menuListener && (this$static.menuListener = $Button$2(new Button$2, this$static));
  if (this$static.menu) {
    $setData(this$static.menu, 'parent', null);
    $removeListener(this$static.menu.observable, ($clinit_56() , Hide), this$static.menuListener);
    $removeListener(this$static.menu.observable, Show, this$static.menuListener);
  }
  this$static.menu = menu;
  if (this$static.menu) {
    $setData(this$static.menu, 'parent', this$static);
    $addListener(this$static.menu.observable, ($clinit_56() , Hide), this$static.menuListener);
    $addListener(this$static.menu.observable, Show, this$static.menuListener);
  }
}

function $setTabIndex_0(this$static, index){
  this$static.tabIndex = index;
  this$static.rendered && !!this$static.buttonEl && (this$static.buttonEl.dom_0['tabIndex'] = index , undefined);
}

--></script>
<script><!--
function $setText_1(this$static, text){
  this$static.text = text;
  if (this$static.rendered) {
    $update(this$static.buttonEl, text == null || $equals_4('', text)?'&#160;':text);
    $setIcon_1(this$static, this$static.icon);
  }
}

function $showMenu(this$static){
  if (this$static.menu) {
    $clinit_0();
    ariaEnabled?addCommand($Button$3(new Button$3, this$static)):$show_4(this$static.menu, $getElement_0(this$static), 'tl-bl?', initValues(_3I_classLit, 328, -1, [0, 0]));
  }
}

function afterRender_2(){
  $afterRender_0(this);
  $setTabIndex_0(this, this.tabIndex);
  $setIcon_1(this, this.icon);
}

function createComponentEvent_4(event_0){
  return $ButtonEvent(new ButtonEvent, this);
}

function getClass_185(){
  return Lcom_extjs_gxt_ui_client_widget_button_Button_2_classLit;
}

function getFocusEl_0(){
  return this.buttonEl;
}

function onComponentEvent_6(ce){
  var be;
  be = dynamicCast(ce, 70);
  switch (!ce.event_0?-1:$eventGetTypeInt(($clinit_308() , ce.event_0).type)) {
    case 16:
      $addStyleName_0(this, this.baseStyle + '-over');
      $add_1(this.preview);
      break;
    case 32:
      $removeStyleName_2(this, this.baseStyle + '-click');
      $removeStyleName_2(this, this.baseStyle + '-over');
      break;
    case 4:
      $addStyleName_0(this, this.baseStyle + '-click');
      break;
    case 8:
      $removeStyleName_2(this, this.baseStyle + '-click');
      break;
    case 1:
      $onClick_2(this, ce);
      break;
    case 2048:
      $onFocus_0(this);
      break;
    case 4096:
      $removeStyleName_2(this, this.baseStyle + '-focus');
      $clinit_0();
      ariaEnabled && $unframe(get());
      break;
    case 512:
      $eventGetKeyCode(($clinit_308() , be.event_0)) == 40 && !!this.menu && !this.menu.showing && $showMenu(this);
  }
}

function onDetach_5(){
  $onDetach_0(this);
  $onDetachHelper(this);
  $remove_5(this.preview);
  $removeStyleName_2(this, this.baseStyle + '-click');
  $removeStyleName_2(this, this.baseStyle + '-over');
  $removeStyleName_2(this, this.baseStyle + '-menu-active');
  $removeStyleName_2(this, this.baseStyle + '-focus');
}

function onDisable_2(){
  (!($clinit_0() , isIE6) || this.text == null) && $addStyleName_0(this, this.disabledStyle);
  $removeStyleName_2(this, this.baseStyle + '-over');
  this.el.dom_0['disabled'] = true;
}

function onEnable_2(){
  $removeStyleName_2(this, this.disabledStyle);
  $clearOpacity(this.el);
  this.el.dom_0['disabled'] = false;
}

function onRender_16(target, index){
  var sb;
  if (!this.template) {
    if (!buttonTemplate) {
      sb = $StringBuffer(new StringBuffer);
      sb.impl.string += '<table cellspacing="0" class="x-btn" role="presentation"><tbody class="{2}" >';
      sb.impl.string += '<tr><td class="x-btn-tl"><i>&#160;<\/i><\/td><td class="x-btn-tc"><\/td><td class="x-btn-tr"><i>&#160;<\/i><\/td><\/tr>';
      sb.impl.string += '<tr><td class="x-btn-ml"><i>&#160;<\/i><\/td><td class="x-btn-mc"><em class="{3}" unselectable="on"><button class="x-btn-text" type="{1}" style=\'position: static\'>{0}<\/button><\/em><\/td><td class="x-btn-mr"><i>&#160;<\/i><\/td><\/tr>';
      sb.impl.string += '<tr><td class="x-btn-bl"><i>&#160;<\/i><\/td><td class="x-btn-bc"><\/td><td class="x-btn-br"><i>&#160;<\/i><\/td><\/tr>';
      sb.impl.string += '<\/tbody><\/table>';
      buttonTemplate = $Template(new Template, sb.impl.string);
    }
    this.template = buttonTemplate;
  }
  $setElement_1(this, create_0(this.template.t.applyTemplate($getValues($Params(new Params, initValues(_3Ljava_lang_Object_2_classLit, 337, 0, [this.text != null && this.text.length > 0?this.text:'&nbsp;', 'button', 'x-btn-' + this.scale.name_0.toLowerCase() + ' x-btn-icon-' + this.scale.name_0.toLowerCase() + '-' + this.iconAlign.name_0.toLowerCase(), $getMenuClass(this)]))))), target, index);
  this.buttonEl = $selectNode(this.el, 'button');
  $makePositionable(this.buttonEl, false);
  !!this.buttonEl && $addEventsSunk(this.buttonEl, 6144);
  $add(this.preview.ignoreList, $getElement_0(this));
  this.buttonEl.dom_0['tabIndex'] = 0;
  $clinit_0();
  if (ariaEnabled) {
    this.buttonEl.dom_0.setAttribute('role', 'button');
    !!this.menu && (this.buttonEl.dom_0.setAttribute('aria-haspopup', 'true') , undefined);
  }
  this.rendered?$sinkEvents(this, 7165):(this.events |= 7165);
}

function onResize_2(width, height){
  this.mask && $mask_0(this, this.maskMessage, this.maskMessageStyleName);
  $setSize_0(this.buttonEl, width - 6, height - 6, true);
}

function setTabIndex_0(index){
  $setTabIndex_0(this, index);
}

function Button(){
}

_ = Button.prototype = new BoxComponent;
_.afterRender_0 = afterRender_2;
_.createComponentEvent = createComponentEvent_4;
_.getClass$ = getClass_185;
_.getFocusEl = getFocusEl_0;
_.onComponentEvent = onComponentEvent_6;
_.onDetach = onDetach_5;
_.onDisable = onDisable_2;
_.onEnable = onEnable_2;
_.onRender = onRender_16;
_.onResize = onResize_2;
_.setTabIndex = setTabIndex_0;
_.typeId$ = 139;
_.buttonEl = null;
_.icon = null;
_.menu = null;
_.menuListener = null;
_.minWidth = -1;
_.preview = null;
_.tabIndex = 0;
_.template = null;
_.text = null;
var buttonTemplate = null;
function $Button$1(this$static, this$0){
  this$static.this$0 = this$0;
  this$static.ignoreList = $CompositeElement(new CompositeElement);
  return this$static;
}

function getClass_186(){
  return Lcom_extjs_gxt_ui_client_widget_button_Button$1_2_classLit;
}

function onAutoHide_2(ce){
  $onMouseOut_0(this.this$0);
  return true;
}

function Button$1(){
}

_ = Button$1.prototype = new BaseEventPreview;
_.getClass$ = getClass_186;
_.onAutoHide = onAutoHide_2;
_.typeId$ = 140;
_.this$0 = null;
function $Button$2(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $handleEvent_24(this$static, be){
  ($clinit_56() , Show) == be.type_0?$onMenuShow(this$static.this$0):Hide == be.type_0 && $onMenuHide(this$static.this$0);
}

function getClass_187(){
  return Lcom_extjs_gxt_ui_client_widget_button_Button$2_2_classLit;
}

function handleEvent_25(p0){
  $handleEvent_24(this, dynamicCast(p0, 79));
}

function Button$2(){
}

_ = Button$2.prototype = new Object_0;
_.getClass$ = getClass_187;
_.handleEvent = handleEvent_25;
_.typeId$ = 141;
_.this$0 = null;
function $Button$3(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function execute_4(){
  $show_4(this.this$0.menu, $getElement_0(this.this$0), 'tl-bl?', initValues(_3I_classLit, 328, -1, [0, 0]));
}

function getClass_188(){
  return Lcom_extjs_gxt_ui_client_widget_button_Button$3_2_classLit;
}

function Button$3(){
}

_ = Button$3.prototype = new Object_0;
_.execute = execute_4;
_.getClass$ = getClass_188;
_.typeId$ = 142;
_.this$0 = null;
function $clinit_214(){
  $clinit_214 = nullMethod;
  $clinit_140();
}

function $ToolBar(this$static){
  $clinit_214();
  $Container(this$static);
  this$static.alignment = ($clinit_10() , LEFT_0);
  this$static.layoutOnChange = true;
  this$static.enableLayout = true;
  this$static.baseStyle = 'x-toolbar';
  $setLayout(this$static, $ToolBarLayout(new ToolBarLayout));
  return this$static;
}

function $add_8(this$static, item){
  return $insert_4(this$static, item, this$static.items.size);
}

function $insert_4(this$static, item, index){
  var result;
  result = $insert_1(this$static, item, index);
  item != null && canCast(item.typeId$, 95) && dynamicCast(item, 95).minWidth == -1 && (dynamicCast(item, 95).minWidth = this$static.minButtonWidth , undefined);
  return result;
}

function $onFocus_1(this$static, ce){
  var c, i;
  $unframe(get());
  !!ce.event_0 && (ce.event_0.cancelBubble = true , undefined);
  $preventDefault(ce);
  for (i = 0; i < this$static.items.size; ++i) {
    c = i < this$static.items.size?dynamicCast($get_9(this$static.items, i), 63):null;
    if (!c.ariaIgnore) {
      c.focus_0();
      break;
    }
  }
}

function $setMinButtonWidth(this$static, minButtonWidth){
  var c, c$iterator;
  this$static.minButtonWidth = minButtonWidth;
  for (c$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.items); c$iterator.i < c$iterator.this$0_0.size_0();) {
    c = dynamicCast($next_4(c$iterator), 63);
    c != null && canCast(c.typeId$, 95) && dynamicCast(c, 95).minWidth == -1 && (dynamicCast(c, 95).minWidth = minButtonWidth , undefined);
  }
}

function createComponentEvent_5(event_0){
  return $ToolBarEvent_0(new ToolBarEvent, this);
}

function createContainerEvent_1(item){
  return $ToolBarEvent(new ToolBarEvent, this, item);
}

function getClass_189(){
  return Lcom_extjs_gxt_ui_client_widget_toolbar_ToolBar_2_classLit;
}

function insert_0(item, index){
  return $insert_4(this, item, index);
}

function layout_4(){
  return $layout_0(this, false);
}

function onComponentEvent_7(ce){
  (!ce.event_0?-1:$eventGetTypeInt(($clinit_308() , ce.event_0).type)) == 2048 && $onFocus_1(this, ce);
}

function onRender_17(target, index){
  var state;
  $setElement_1(this, ($clinit_308() , $doc).createElement('div'), target, index);
  $addStyleName_0(this, 'x-small-editor');
  if (this.alignment == ($clinit_10() , CENTER)) {
    $addStyleName_0(this, 'x-panel-btns-center');
  }
   else if (this.alignment == RIGHT_1) {
    if (this.items.size == 0 || this.items.size > 0 && !instanceOf(0 < this.items.size?dynamicCast($get_9(this.items, 0), 63):null, 97)) {
      state = this.layoutOnChange;
      this.layoutOnChange = false;
      $insert_4(this, $FillToolItem(new FillToolItem), 0);
      this.layoutOnChange = state;
    }
  }
  $clinit_0();
  if (ariaEnabled) {
    this.el.dom_0['tabIndex'] = 0;
    $setElementAttribute(this.el, 'hideFocus', 'true');
    $getElement_0(this).setAttribute('role', 'toolbar');
    !$equals_4($getTitle(this), '') && ($getElement_0(this).setAttribute('aria-label', $getTitle(this)) , undefined);
  }
  this.rendered?$sinkEvents(this, 6144):(this.events |= 6144);
}

function remove_9(item){
  return $remove_7(this, item, false);
}

function ToolBar(){
}

_ = ToolBar.prototype = new Container;
_.createComponentEvent = createComponentEvent_5;
_.createContainerEvent = createContainerEvent_1;
_.getClass$ = getClass_189;
_.insert = insert_0;
_.layout_1 = layout_4;
_.onComponentEvent = onComponentEvent_7;
_.onRender = onRender_17;
_.remove_3 = remove_9;
_.typeId$ = 143;
_.minButtonWidth = -1;
function $clinit_215(){
  $clinit_215 = nullMethod;
  $clinit_214();
}

function $ButtonBar(this$static){
  $clinit_215();
  $ToolBar(this$static);
  dynamicCast(this$static.layout_0, 80).spacing = 5;
  this$static.baseStyle = 'x-panel-fbar';
  return this$static;
}

function getClass_190(){
  return Lcom_extjs_gxt_ui_client_widget_button_ButtonBar_2_classLit;
}

function ButtonBar(){
}

_ = ButtonBar.prototype = new ToolBar;
_.getClass$ = getClass_190;
_.typeId$ = 144;
function $clinit_216(){
  $clinit_216 = nullMethod;
  $clinit_139();
}

function $IconButton_0(this$static, style, listener){
  $clinit_216();
  $BoxComponent(this$static);
  this$static.style_0 = style;
  $addListener(this$static.observable, ($clinit_56() , Select), listener);
  return this$static;
}

function $onClick_3(this$static, ce){
  !!ce.event_0 && (ce.event_0.cancelBubble = true , undefined);
  $removeStyleName_2(this$static, this$static.style_0 + '-over');
  $fireEvent_2(this$static, ($clinit_56() , Select), ce);
}

function $onKeyPress_1(this$static, ce){
  var code;
  code = !ce.event_0?-1:$eventGetKeyCode(($clinit_308() , ce.event_0));
  (code == 13 || code == 32) && $onClick_3(this$static, ce);
}

function $onRender_2(this$static, target, index){
  $setElement_1(this$static, ($clinit_308() , $doc).createElement('div'), target, index);
  $addStyleName_0(this$static, 'x-icon-btn');
  $addStyleName_0(this$static, 'x-nodrag');
  $addStyleName_0(this$static, this$static.style_0);
  this$static.rendered?$sinkEvents(this$static, 6269):(this$static.events |= 6269);
  $IconButton$1(new IconButton$1, this$static, this$static);
  $clinit_0();
  if (ariaEnabled) {
    this$static.el.dom_0['tabIndex'] = 0;
    $getElement_0(this$static).setAttribute('role', 'button');
  }
}

function createComponentEvent_6(event_0){
  return $IconButtonEvent(new IconButtonEvent, this, event_0);
}

function getClass_191(){
  return Lcom_extjs_gxt_ui_client_widget_button_IconButton_2_classLit;
}

function onComponentEvent_8(ce){
  switch (!ce.event_0?-1:$eventGetTypeInt(($clinit_308() , ce.event_0).type)) {
    case 16:
      $addStyleName_0(this, this.style_0 + '-over');
      break;
    case 32:
      $removeStyleName_2(this, this.style_0 + '-over');
      break;
    case 1:
      $onClick_3(this, ce);
      break;
    case 2048:
      $clinit_0();
      ariaEnabled && $frame(get(), this);
      break;
    case 4096:
      $clinit_0();
      ariaEnabled && $unframe(get());
  }
}

function onDisable_3(){
  $addStyleName_0(this, this.style_0 + '-disabled');
}

function onEnable_3(){
  $removeStyleName_2(this, this.style_0 + '-disabled');
}

function onRender_18(target, index){
  $onRender_2(this, target, index);
}

function IconButton(){
}

_ = IconButton.prototype = new BoxComponent;
_.createComponentEvent = createComponentEvent_6;
_.getClass$ = getClass_191;
_.onComponentEvent = onComponentEvent_8;
_.onDisable = onDisable_3;
_.onEnable = onEnable_3;
_.onRender = onRender_18;
_.typeId$ = 145;
_.style_0 = null;
function $clinit_217(){
  $clinit_217 = nullMethod;
  $clinit_128();
}

function $IconButton$1(this$static, $anonymous0, this$0){
  $clinit_217();
  this$static.this$0 = this$0;
  $bind(this$static, $anonymous0);
  return this$static;
}

function getClass_192(){
  return Lcom_extjs_gxt_ui_client_widget_button_IconButton$1_2_classLit;
}

function onKeyPress_0(ce){
  $onKeyPress_1(this.this$0, ce);
}

function IconButton$1(){
}

_ = IconButton$1.prototype = new KeyNav;
_.getClass$ = getClass_192;
_.onKeyPress = onKeyPress_0;
_.typeId$ = 146;
_.this$0 = null;
function $clinit_218(){
  $clinit_218 = nullMethod;
  $clinit_216();
}

function $ToolButton(this$static, style){
  $clinit_218();
  $BoxComponent(this$static);
  this$static.style_0 = style;
  return this$static;
}

function $ToolButton_0(this$static, style, listener){
  $clinit_218();
  $BoxComponent(this$static);
  this$static.style_0 = style;
  $addListener(this$static.observable, ($clinit_56() , Select), listener);
  return this$static;
}

function getClass_193(){
  return Lcom_extjs_gxt_ui_client_widget_button_ToolButton_2_classLit;
}

function onRender_19(parent_0, pos){
  $onRender_2(this, parent_0, pos);
  $removeStyleName_2(this, 'x-icon-btn');
  $addStyleName_0(this, 'x-tool');
  $addStyleName_0(this, 'x-nodrag');
}

function ToolButton(){
}

_ = ToolButton.prototype = new IconButton;
_.getClass$ = getClass_193;
_.onRender = onRender_19;
_.typeId$ = 147;
function $clinit_219(){
  $clinit_219 = nullMethod;
  $clinit_139();
}

function $addInputStyleName(this$static, style){
  var inputEl;
  if (this$static.rendered) {
    inputEl = this$static.getInputEl();
    !!inputEl && $addStyleName(inputEl, initValues(_3Ljava_lang_String_2_classLit, 340, 1, [style]));
  }
   else {
    this$static.inputStyle = this$static.inputStyle == null?style:this$static.inputStyle + ' ' + style;
  }
}

function $addKeyListener(this$static, listener){
  $addListener(this$static.observable, ($clinit_56() , KeyPress), listener);
  $addListener(this$static.observable, KeyUp, listener);
  $addListener(this$static.observable, KeyDown, listener);
}

function $clearInvalid(this$static){
  if (!this$static.rendered) {
    return;
  }
  $removeStyleName_1(this$static.getInputEl(), 'x-form-invalid');
  if (!!this$static.errorIcon && $isAttached_0(this$static.errorIcon)) {
    doDetach(this$static.errorIcon);
    $setVisible_0(this$static.errorIcon, false);
  }
  $fireEvent_2(this$static, ($clinit_56() , Valid), $FieldEvent(new FieldEvent, this$static));
}

function $findLabelElement(this$static){
  var elem;
  if (this$static.rendered) {
    elem = $findParent(this$static.el, '.x-form-item', 5);
    if (elem) {
      return $firstChild(elem);
    }
  }
  return null;
}

function $fireChangeEvent(this$static, oldValue, value){
  var e;
  if (!equalWithNull(oldValue, value)) {
    e = $FieldEvent(new FieldEvent, this$static);
    $fireEvent_2(this$static, ($clinit_56() , Change), e);
  }
}

function $fireKey(this$static, fe){
  $isSpecialKey(!fe.event_0?-1:$eventGetKeyCode(($clinit_308() , fe.event_0))) && $fireEvent_2(this$static, ($clinit_56() , SpecialKey), fe);
}

function $focus_2(this$static){
  $focus(this$static);
  this$static.rendered && this$static.onFocus($FieldEvent(new FieldEvent, this$static));
}

function $getRawValue(this$static){
  var v;
  v = this$static.rendered?$getPropertyString(this$static.getInputEl().dom_0, 'value'):'';
  if (v == null || $equals_4(v, this$static.emptyText)) {
    return '';
  }
  return v;
}

function $getValue(this$static){
  var $e0, v;
  if (!this$static.rendered) {
    return this$static.value;
  }
  v = $getRawValue(this$static);
  if (v == null || $equals_4(v, '')) {
    return null;
  }
  try {
    return this$static.propertyEditor.convertStringValue(v);
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (instanceOf($e0, 54)) {
      return null;
    }
     else 
      throw $e0;
  }
}

function $markInvalid(this$static, msg){
  var fe, p;
  msg = htmlEncode(msg == null?this$static.getMessages().getInvalidText():msg);
  if (!this$static.rendered || this$static.preventMark) {
    return;
  }
  $addStyleName(this$static.input?this$static.input:this$static.el, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-form-invalid']));
  if (!this$static.errorIcon) {
    this$static.errorIcon = $WidgetComponent(new WidgetComponent, $createImage((!this$static.images && (this$static.images = $Field$FieldImages(new Field$FieldImages)) , this$static.images).invalid));
    p = $getParent(this$static.el).dom_0;
    $render(this$static.errorIcon, p, -1);
    this$static.errorIcon.hideMode = ($clinit_9() , VISIBILITY);
    $hide_0(this$static.errorIcon);
    $setStyleAttribute_1(this$static.errorIcon, 'display', 'block');
    $makePositionable(this$static.errorIcon.el, true);
  }
   else if (!$isOrHasChild_0(($clinit_308() , $doc.body), this$static.errorIcon.el.dom_0)) {
    p = $getParent(this$static.el).dom_0;
    p.appendChild(this$static.errorIcon.widget.getElement());
  }
  !$isAttached_0(this$static.errorIcon) && doAttach(this$static.errorIcon);
  addCommand($Field$3(new Field$3, this$static));
  (($clinit_0() , isIE_0) || isOpera) && addCommand($Field$3(new Field$3, this$static));
  addCommand($Field$1(new Field$1, this$static));
  $setToolTip(this$static.errorIcon, msg);
  $addStyleName_0($getToolTip(this$static.errorIcon), 'x-form-invalid-tip');
  $repaint(this$static.el);
  fe = $FieldEvent(new FieldEvent, this$static);
  $fireEvent_2(this$static, ($clinit_56() , Invalid), fe);
}

function $onBlur_2(this$static){
  var v;
  if (this$static.hasFocus) {
    !!this$static.getInputEl() && $removeStyleName_1(this$static.getInputEl(), 'x-form-focus');
    this$static.hasFocus = false;
    $validate(this$static, false);
    v = $getValue(this$static);
    this$static.value = v;
    $fireChangeEvent(this$static, this$static.focusValue, v);
    $fireEvent_2(this$static, ($clinit_56() , Blur), $FieldEvent(new FieldEvent, this$static));
  }
}

function $onComponentEvent_3(this$static, ce){
  var e, fe;
  fe = $FieldEvent(new FieldEvent, this$static);
  $setEvent(fe, ce.event_0);
  switch (!ce.event_0?-1:$eventGetTypeInt(($clinit_308() , ce.event_0).type)) {
    case 2048:
      this$static.onFocus(ce);
      break;
    case 4096:
      if (this$static.inEditor && ($clinit_0() , isWindows) && ($clinit_0() , isGecko)) {
        e = ce;
        addCommand($Field$2(new Field$2, this$static, e));
      }
       else {
        this$static.onBlur(ce);
      }

      break;
    case 1:
      !this$static.hasFocus && $focus_2(this$static);
      this$static.onClick(ce);
      break;
    case 512:
      this$static.onKeyUp(fe);
      break;
    case 128:
      this$static.onKeyDown(fe);
      ($clinit_128() , $clinit_128() , keyEvent).eventCode == 128 && $fireKey(this$static, fe);
      break;
    case 256:
      this$static.onKeyPress_0(fe);
      ($clinit_128() , $clinit_128() , keyEvent).eventCode == 256 && $fireKey(this$static, fe);
  }
}

function $onFocus_3(this$static){
  if (!this$static.hasFocus) {
    !!this$static.getInputEl() && $addStyleName(this$static.getInputEl(), initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-form-focus']));
    this$static.hasFocus = true;
    this$static.focusValue = $getValue(this$static);
    $fireEvent_2(this$static, ($clinit_56() , Focus), $FieldEvent(new FieldEvent, this$static));
  }
}

function $onRender_3(this$static){
  var type;
  $addStyleName_0(this$static, 'x-form-field');
  type = ($clinit_308() , this$static.getInputEl().dom_0).getAttribute('type') || '';
  $equals_4(type, 'password') && (type = 'text');
  !$equals_4(type, '') && $addStyleName(this$static.getInputEl(), initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-form-' + type]));
  $setName(this$static, this$static.name_0);
  this$static.readOnly && this$static.setReadOnly(true);
  $setTabIndex_1(this$static, this$static.tabIndex);
  if (this$static.inputStyle != null) {
    $addInputStyleName(this$static, this$static.inputStyle);
    this$static.inputStyle = null;
  }
  if (this$static.inputStyles != null && !$equals_4(this$static.inputStyles, '')) {
    $applyStyles(this$static.getInputEl(), this$static.inputStyles);
    this$static.inputStyles = null;
  }
  this$static.originalValue = this$static.value;
  $addEventsSunk(this$static.getInputEl(), 6144);
  this$static.rendered?$sinkEvents(this$static, 7165):(this$static.events |= 7165);
}

function $onResize_1(this$static){
  this$static.mask && $mask_0(this$static, this$static.maskMessage, this$static.maskMessageStyleName);
  !!this$static.errorIcon && $isAttached_0(this$static.errorIcon) && addCommand($Field$3(new Field$3, this$static));
}

function $reset(this$static){
  $setValue_3(this$static, this$static.originalValue);
  $clearInvalid(this$static);
}

function $setFieldLabel(this$static, fieldLabel){
  var elem;
  this$static.fieldLabel = fieldLabel;
  if (this$static.rendered) {
    elem = $findLabelElement(this$static);
    !!elem && $setInnerHtml(elem, fieldLabel + this$static.labelSeparator);
  }
}

function $setName(this$static, name_0){
  this$static.name_0 = name_0;
  if (this$static.rendered) {
    this$static.getInputEl().dom_0.removeAttribute('name');
    name_0 != null && (this$static.getInputEl().dom_0.name = name_0 , undefined);
  }
}

function $setRawValue(this$static, value){
  this$static.rendered && $setValue(this$static.getInputEl(), value == null?'':value);
}

function $setTabIndex_1(this$static, index){
  this$static.tabIndex = index;
  this$static.rendered && (this$static.getInputEl().dom_0['tabIndex'] = index , undefined);
}

function $setValue_2(this$static, value){
  var oldValue, v;
  oldValue = this$static.value;
  this$static.value = value;
  if (this$static.rendered) {
    v = value == null?'':this$static.propertyEditor.getStringValue(value);
    this$static.rendered && $setValue(this$static.getInputEl(), v == null?'':v);
    $validate(this$static, false);
  }
  this$static.fireChangeEventOnSetValue && $fireChangeEvent(this$static, oldValue, value);
}

function $validate(this$static, preventMark){
  var restore, result;
  if (this$static.disabled) {
    $clearInvalid(this$static);
    return true;
  }
  restore = this$static.preventMark;
  this$static.preventMark = preventMark;
  result = this$static.validateValue($getRawValue(this$static));
  this$static.preventMark = restore;
  result && $clearInvalid(this$static);
  return result;
}

function afterRender_3(){
  $afterRender_0(this);
  this.value != null && this.setValue_0(this.value);
}

function createComponentEvent_7(event_0){
  return $FieldEvent(new FieldEvent, this);
}

function doDetachChildren_8(){
  $doDetachChildren_0(this);
  if (!!this.errorIcon && $isAttached_0(this.errorIcon)) {
    $setVisible_0(this.errorIcon, false);
    doDetach(this.errorIcon);
  }
}

function focus_4(){
  $focus_2(this);
}

function getClass_194(){
  return Lcom_extjs_gxt_ui_client_widget_form_Field_2_classLit;
}

function getInputEl(){
  return this.el;
}

function onBlur(be){
  $onBlur_2(this);
}

function onClick(ce){
}

function onComponentEvent_9(ce){
  $onComponentEvent_3(this, ce);
}

function onDisable_4(){
  $addStyleName_0(this, this.disabledStyle);
  this.getInputEl().dom_0['disabled'] = true;
}

function onEnable_4(){
  $removeStyleName_2(this, this.disabledStyle);
  $clearOpacity(this.el);
  this.getInputEl().dom_0['disabled'] = false;
}

function onFocus_1(ce){
  $onFocus_3(this);
}

function onHide_2(){
  $onHide(this);
  !!this.layer && $hideUnders_0(this.layer);
  !!this.errorIcon && $isAttached_0(this.errorIcon) && $hide_0(this.errorIcon);
}

function onKeyDown(fe){
  $fireEvent_2(this, ($clinit_56() , KeyDown), $FieldEvent_0(new FieldEvent, this, fe.event_0));
}

function onKeyPress_1(fe){
  $fireEvent_2(this, ($clinit_56() , KeyPress), $FieldEvent_0(new FieldEvent, this, fe.event_0));
}

function onKeyUp(fe){
  $fireEvent_2(this, ($clinit_56() , KeyUp), $FieldEvent_0(new FieldEvent, this, fe.event_0));
}

function onRender_20(parent_0, index){
  $onRender_3(this);
}

function onResize_3(width, height){
  $onResize_1(this);
}

function onShow_1(){
  $onShow(this);
  !!this.layer && $sync_1(this.layer, true);
  !!this.errorIcon && $isAttached_0(this.errorIcon) && $show_0(this.errorIcon);
}

function setReadOnly(readOnly){
  this.readOnly = readOnly;
  if (this.rendered) {
    $setStyleName_0(this.el, 'x-form-readonly', readOnly);
    this.getInputEl().dom_0['readOnly'] = readOnly;
  }
}

function setTabIndex_1(index){
  this.tabIndex = index;
  this.rendered && (this.getInputEl().dom_0['tabIndex'] = index , undefined);
}

function setValue_0(value){
  $setValue_2(this, value);
}

function validateValue(value){
  return true;
}

function Field(){
}

_ = Field.prototype = new BoxComponent;
_.afterRender_0 = afterRender_3;
_.createComponentEvent = createComponentEvent_7;
_.doDetachChildren = doDetachChildren_8;
_.focus_0 = focus_4;
_.getClass$ = getClass_194;
_.getInputEl = getInputEl;
_.onBlur = onBlur;
_.onClick = onClick;
_.onComponentEvent = onComponentEvent_9;
_.onDisable = onDisable_4;
_.onEnable = onEnable_4;
_.onFocus = onFocus_1;
_.onHide = onHide_2;
_.onKeyDown = onKeyDown;
_.onKeyPress_0 = onKeyPress_1;
_.onKeyUp = onKeyUp;
_.onRender = onRender_20;
_.onResize = onResize_3;
_.onShow = onShow_1;
_.setReadOnly = setReadOnly;
_.setTabIndex = setTabIndex_1;
_.setValue_0 = setValue_0;
_.validateValue = validateValue;
_.typeId$ = 148;
_.autoValidate = false;
_.emptyText = null;
_.errorIcon = null;
_.fieldLabel = '';
_.fireChangeEventOnSetValue = false;
_.focusValue = null;
_.hasFocus = false;
_.hideLabel = false;
_.images = null;
_.inEditor = false;
_.inputStyle = null;
_.inputStyles = '';
_.labelSeparator = null;
_.messages = null;
_.name_0 = null;
_.originalValue = null;
_.preventMark = false;
_.propertyEditor = null;
_.readOnly = false;
_.tabIndex = 0;
_.value = null;
function $clinit_220(){
  $clinit_220 = nullMethod;
  $clinit_219();
}

function $TextField(this$static){
  $clinit_220();
  $BoxComponent(this$static);
  this$static.propertyEditor = ($clinit_242() , DEFAULT);
  this$static.messages = $Field$FieldMessages(new Field$FieldMessages);
  this$static.messages = $TextField$TextFieldMessages(new TextField$TextFieldMessages);
  $setSize_1(this$static, 150, -1);
  return this$static;
}

function $onFocus_4(this$static){
  var length_0;
  $onFocus_3(this$static);
  this$static.selectOnFocus && (length_0 = $getRawValue(this$static).length , length_0 > 0 && $setSelectionRange((this$static.input?this$static.input:this$static.el).dom_0, 0, length_0) , undefined);
}

function $onRender_4(this$static, target, index){
  var e, e_0, firstChild;
  if (!this$static.el) {
    $setElement_1(this$static, ($clinit_308() , $doc).createElement('div'), target, index);
    $getElement_0(this$static).appendChild(this$static.password?(e = $doc.createElement('INPUT') , e.type = 'password' , e):(e_0 = $doc.createElement('INPUT') , e_0.type = 'text' , e_0));
    this$static.input = (firstChild = $getFirstChildElement(this$static.el.dom_0) , !firstChild?null:$El(new El, firstChild));
  }
  $addStyleName_0(this$static, 'x-form-field-wrap');
  $addStyleName(this$static.input?this$static.input:this$static.el, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-form-field']));
  $setId(this$static.input?this$static.input:this$static.el, $getId_0(this$static) + '-input');
  $onRender_3(this$static);
  $removeStyleName_2(this$static, 'x-form-field');
  this$static.autoValidate && (this$static.validationTask = $DelayedTask(new DelayedTask, $TextField$1(new TextField$1, this$static)));
}

function $onResize_2(this$static, width, height){
  var asize;
  $onResize_1(this$static);
  asize = this$static.adjustInputSize();
  $setSize_0(this$static.input?this$static.input:this$static.el, width - asize.width, height - asize.height, true);
}

function $removeEmptyText(this$static){
  if (this$static.rendered) {
    $removeStyleName_1(this$static.input?this$static.input:this$static.el, 'x-form-empty-field');
    $equals_4('', $getRawValue(this$static)) && (this$static.rendered && $setValue(this$static.getInputEl(), '') , undefined);
  }
}

function $setValue_3(this$static, value){
  $setValue_2(this$static, value);
  $removeEmptyText(this$static);
}

--></script>
<script><!--
function $validateValue_0(this$static, value){
  var error, length_0;
  length_0 = value.length;
  if (value.length < 1 || $equals_4(value, '')) {
    $clearInvalid(this$static);
    return true;
  }
  if (length_0 < this$static.minLength) {
    error = '';
    this$static.getMessages().minLengthText == null?(error = 'The minimum length for this field is ' + ($clinit_0() , this$static.minLength)):(error = substitute(this$static.getMessages().minLengthText, initValues(_3Ljava_lang_Object_2_classLit, 337, 0, [safeRegexReplacement('' + this$static.minLength)])));
    $markInvalid(this$static, error);
    return false;
  }
  if (length_0 > 2147483647) {
    error = '';
    this$static.getMessages().maxLengthText == null?(error = 'The maximum length for this field is ' + ($clinit_0() , 2147483647)):(error = substitute(this$static.getMessages().maxLengthText, initValues(_3Ljava_lang_Object_2_classLit, 337, 0, [safeRegexReplacement('2147483647')])));
    $markInvalid(this$static, error);
    return false;
  }
  return true;
}

function adjustInputSize(){
  return $Size(new Size, 0, 0);
}

function getClass_195(){
  return Lcom_extjs_gxt_ui_client_widget_form_TextField_2_classLit;
}

function getFocusEl_1(){
  return this.input?this.input:this.el;
}

function getInputEl_0(){
  return this.input?this.input:this.el;
}

function getMessages(){
  return dynamicCast(this.messages, 86);
}

function onBlur_0(be){
  $onBlur_2(this);
}

function onFocus_2(be){
  $onFocus_4(this);
}

function onKeyPress_2(fe){
  $fireEvent_2(this, ($clinit_56() , KeyPress), $FieldEvent_0(new FieldEvent, this, fe.event_0));
}

function onKeyUp_0(fe){
  $fireEvent_2(this, ($clinit_56() , KeyUp), $FieldEvent_0(new FieldEvent, this, fe.event_0));
  !!this.validationTask && $delay(this.validationTask, 250);
}

function onRender_21(target, index){
  $onRender_4(this, target, index);
}

function onResize_4(width, height){
  $onResize_2(this, width, height);
}

function setValue_1(value){
  $setValue_2(this, value);
  $removeEmptyText(this);
}

function validateValue_0(value){
  return $validateValue_0(this, value);
}

function TextField(){
}

_ = TextField.prototype = new Field;
_.adjustInputSize = adjustInputSize;
_.getClass$ = getClass_195;
_.getFocusEl = getFocusEl_1;
_.getInputEl = getInputEl_0;
_.getMessages = getMessages;
_.onBlur = onBlur_0;
_.onFocus = onFocus_2;
_.onKeyPress_0 = onKeyPress_2;
_.onKeyUp = onKeyUp_0;
_.onRender = onRender_21;
_.onResize = onResize_4;
_.setValue_0 = setValue_1;
_.validateValue = validateValue_0;
_.typeId$ = 149;
_.input = null;
_.minLength = 0;
_.password = false;
_.selectOnFocus = false;
_.validationTask = null;
_.validator = null;
function $clinit_221(){
  $clinit_221 = nullMethod;
  $clinit_220();
}

function $mimicBlur(this$static, e, target){
  !$isOrHasChild_0(($clinit_308() , this$static.el.dom_0), target) && this$static.validateBlur(e, target) && $triggerBlur(this$static);
}

function $onRender_5(this$static, target, index){
  var e, e_0;
  this$static.focusEventPreview = $TriggerField$1(new TriggerField$1, this$static);
  if (this$static.el) {
    $onRender_4(this$static, target, index);
    return;
  }
  $setElement_1(this$static, ($clinit_308() , $doc).createElement('div'), target, index);
  this$static.password?(this$static.input = $El(new El, (e = $doc.createElement('INPUT') , e.type = 'password' , e))):(this$static.input = $El(new El, (e_0 = $doc.createElement('INPUT') , e_0.type = 'text' , e_0)));
  $addStyleName_0(this$static, 'x-form-field-wrap');
  $addStyleName(this$static.input, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-form-field']));
  this$static.trigger = $El(new El, $doc.createElement('img'));
  this$static.trigger.dom_0.className = 'x-form-trigger ' + this$static.triggerStyle;
  this$static.trigger.dom_0['src'] = ($clinit_0() , BLANK_IMAGE_URL);
  $appendChild(this$static.el, this$static.input.dom_0);
  $appendChild(this$static.el, this$static.trigger.dom_0);
  this$static.hideTrigger && this$static.trigger.setVisible(false);
  $onRender_4(this$static, target, index);
  !this$static.editable && $setEditable(this$static, false);
}

function $setEditable(this$static, editable){
  var fromEl;
  this$static.editable = editable;
  if (this$static.rendered) {
    fromEl = this$static.input?this$static.input:this$static.el;
    !this$static.readOnly && (fromEl.dom_0['readOnly'] = !editable , undefined);
    !editable?$addStyleName(fromEl, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-triggerfield-noedit'])):$removeStyleName_1(fromEl, 'x-triggerfield-noedit');
  }
}

function $triggerBlur(this$static){
  this$static.mimicing = false;
  $remove_5(this$static.focusEventPreview);
  $removeStyleName_2(this$static, 'x-trigger-wrap-focus');
  $onBlur_2(this$static);
}

function adjustInputSize_0(){
  return $Size(new Size, this.trigger.dom_0.offsetWidth || 0, 0);
}

function afterRender_4(){
  $afterRender_0(this);
  this.value != null && this.setValue_0(this.value);
  $addStyleOnOver(this, this.trigger.dom_0, 'x-form-trigger-over');
  $removeStyleName_2(this, 'x-form-field');
}

function getClass_196(){
  return Lcom_extjs_gxt_ui_client_widget_form_TriggerField_2_classLit;
}

function onBlur_1(ce){
}

function onClick_0(ce){
  if (!this.readOnly && !this.editable && $isOrHasChild_1((this.input?this.input:this.el).dom_0, !ce.event_0?null:($clinit_308() , ce.event_0).target)) {
    this.onTriggerClick(ce);
    return;
  }
}

function onComponentEvent_10(ce){
  var type;
  $onComponentEvent_3(this, ce);
  type = !ce.event_0?-1:$eventGetTypeInt(($clinit_308() , ce.event_0).type);
  (!ce.event_0?null:($clinit_308() , ce.event_0).target) == this.trigger.dom_0 && type == 1 && !this.readOnly && this.onTriggerClick(ce);
}

function onDisable_5(){
  $addStyleName_0(this, this.disabledStyle);
  (this.input?this.input:this.el).dom_0['disabled'] = true;
  $addStyleName_0(this, 'x-item-disabled');
}

function onEnable_5(){
  $removeStyleName_2(this, this.disabledStyle);
  $clearOpacity(this.el);
  (this.input?this.input:this.el).dom_0['disabled'] = false;
  $removeStyleName_2(this, 'x-item-disabled');
}

function onFocus_3(ce){
  $onFocus_4(this);
  if (!this.mimicing) {
    $addStyleName_0(this, 'x-trigger-wrap-focus');
    this.mimicing = true;
    $add_1(this.focusEventPreview);
  }
}

function onKeyDown_0(fe){
  $fireEvent_2(this, ($clinit_56() , KeyDown), $FieldEvent_0(new FieldEvent, this, fe.event_0));
  (!fe.event_0?-1:$eventGetKeyCode(($clinit_308() , fe.event_0))) == 9 && $triggerBlur(this);
}

function onRender_22(target, index){
  $onRender_5(this, target, index);
}

function onResize_5(width, height){
  var y;
  $onResize_2(this, width, height);
  ($clinit_0() , isIE_0) && !this.hideTrigger && (y = $getAbsoluteTop(($clinit_308() , this.input.dom_0))) != $getAbsoluteTop(this.trigger.dom_0) && $setXY(this.trigger, $Point(new Point, -1, y));
}

function onTriggerClick(ce){
  $fireEvent_2(this, ($clinit_56() , TriggerClick), ce);
}

function setReadOnly_0(readOnly){
  this.readOnly = readOnly;
  if (this.rendered) {
    $setStyleName_0(this.el, 'x-form-readonly', readOnly);
    (this.editable || readOnly && !this.editable) && ((this.input?this.input:this.el).dom_0['readOnly'] = readOnly , undefined);
  }
}

function validateBlur(ce, target){
  return true;
}

function TriggerField(){
}

_ = TriggerField.prototype = new TextField;
_.adjustInputSize = adjustInputSize_0;
_.afterRender_0 = afterRender_4;
_.getClass$ = getClass_196;
_.onBlur = onBlur_1;
_.onClick = onClick_0;
_.onComponentEvent = onComponentEvent_10;
_.onDisable = onDisable_5;
_.onEnable = onEnable_5;
_.onFocus = onFocus_3;
_.onKeyDown = onKeyDown_0;
_.onRender = onRender_22;
_.onResize = onResize_5;
_.onTriggerClick = onTriggerClick;
_.setReadOnly = setReadOnly_0;
_.validateBlur = validateBlur;
_.typeId$ = 150;
_.editable = true;
_.focusEventPreview = null;
_.hideTrigger = false;
_.mimicing = false;
_.trigger = null;
_.triggerStyle = 'x-form-trigger-arrow';
function $clinit_222(){
  $clinit_222 = nullMethod;
  $clinit_221();
}

function $DateField(this$static){
  $clinit_222();
  $TextField(this$static);
  this$static.ensureVisibilityOnSizing = true;
  this$static.autoValidate = false;
  this$static.propertyEditor = $DateTimePropertyEditor(new DateTimePropertyEditor);
  this$static.messages = $DateField$DateFieldMessages(new DateField$DateFieldMessages);
  this$static.triggerStyle = 'x-form-date-trigger';
  return this$static;
}

function $collapseIf(this$static, pe){
  !$isOrHasChild(this$static.menu.el, !pe.event_0?null:($clinit_308() , pe.event_0).target) && !$isOrHasChild(this$static.el, !pe.event_0?null:($clinit_308() , pe.event_0).target) && $hide_6(this$static.menu, false);
}

function $expand_0(this$static){
  var d, picker, v;
  picker = $getDatePicker(this$static);
  v = $getValue(this$static);
  d = null;
  v != null && canCast(v.typeId$, 55)?(d = dynamicCast(v, 55)):(d = $Date(new Date_0));
  $setMinDate(picker, this$static.minValue);
  $setMaxDate(picker, this$static.maxValue);
  $setValue_1(picker, d, true);
  $add_1(this$static.eventPreview);
  $show_4(this$static.menu, this$static.el.dom_0, 'tl-bl?', initValues(_3I_classLit, 328, -1, [0, 0]));
  $focus(this$static.menu);
}

function $getDatePicker(this$static){
  if (!this$static.menu) {
    this$static.menu = $DateMenu(new DateMenu);
    $addListener(this$static.menu.picker.observable, ($clinit_56() , Select), $DateField$1(new DateField$1, this$static));
    $addListener(this$static.menu.observable, Hide, $DateField$2(new DateField$2, this$static));
  }
  return this$static.menu.picker;
}

function $onDown(this$static, fe){
  !!fe.event_0 && (fe.event_0.cancelBubble = true , undefined);
  (!this$static.menu || !this$static.menu.attached) && $expand_0(this$static);
}

function getClass_197(){
  return Lcom_extjs_gxt_ui_client_widget_form_DateField_2_classLit;
}

function getMessages_0(){
  return dynamicCast(this.messages, 82);
}

function onDetach_6(){
  $onDetach_0(this);
  $onDetachHelper(this);
  !!this.eventPreview && $remove_5(this.eventPreview);
}

function onRender_23(target, index){
  $onRender_5(this, target, index);
  this.eventPreview = $DateField$3(new DateField$3, this);
  this.eventPreview.autoHide = false;
  $DateField$4(new DateField$4, this, this);
}

function onTriggerClick_0(ce){
  $fireEvent_2(this, ($clinit_56() , TriggerClick), ce);
  $expand_0(this);
  $setFocus(this.input?this.input:this.el, true);
}

function validateBlur_0(e, target){
  return !this.menu || !!this.menu && !this.menu.showing;
}

function validateValue_1(value){
  var $e0, date, error, format;
  if (!$validateValue_0(this, value)) {
    return false;
  }
  if (value.length < 1) {
    return true;
  }
  format = dynamicCast(this.propertyEditor, 81).format;
  date = null;
  try {
    date = $parse(dynamicCast(this.propertyEditor, 81).format, value, true);
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (!instanceOf($e0, 54))
      throw $e0;
  }
  if (!date) {
    error = null;
    dynamicCast(this.messages, 82).invalidText != null?(error = substitute(dynamicCast(this.messages, 82).invalidText, initValues(_3Ljava_lang_Object_2_classLit, 337, 0, [value, format.pattern.toUpperCase()]))):(error = ($clinit_0() , value) + ' is not a valid date - it must be in the format ' + format.pattern.toUpperCase());
    $markInvalid(this, error);
    return false;
  }
  this.formatValue && !!dynamicCast(this.propertyEditor, 81).format && $setRawValue(this, $format(dynamicCast(this.propertyEditor, 81).format, date));
  return true;
}

function DateField(){
}

_ = DateField.prototype = new TriggerField;
_.getClass$ = getClass_197;
_.getMessages = getMessages_0;
_.onDetach = onDetach_6;
_.onRender = onRender_23;
_.onTriggerClick = onTriggerClick_0;
_.validateBlur = validateBlur_0;
_.validateValue = validateValue_1;
_.typeId$ = 151;
_.eventPreview = null;
_.formatValue = false;
_.maxValue = null;
_.menu = null;
_.minValue = null;
function $DateField$1(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $handleEvent_25(this$static){
  this$static.this$0.focusValue = $getValue(this$static.this$0);
  $setValue_3(this$static.this$0, $Date_1(new Date_0, fromDouble($getTime0(this$static.this$0.menu.picker.value.date))));
  $hide_6(this$static.this$0.menu, false);
  $setFocus(this$static.this$0.el, false);
}

function getClass_198(){
  return Lcom_extjs_gxt_ui_client_widget_form_DateField$1_2_classLit;
}

function handleEvent_26(p0){
  $handleEvent_25(this, dynamicCast(p0, 48));
}

function DateField$1(){
}

_ = DateField$1.prototype = new Object_0;
_.getClass$ = getClass_198;
_.handleEvent = handleEvent_26;
_.typeId$ = 152;
_.this$0 = null;
function $DateField$2(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $handleEvent_26(this$static){
  $remove_5(this$static.this$0.eventPreview);
  $focus_2(this$static.this$0);
}

function getClass_199(){
  return Lcom_extjs_gxt_ui_client_widget_form_DateField$2_2_classLit;
}

function handleEvent_27(p0){
  $handleEvent_26(this, dynamicCast(p0, 48));
}

function DateField$2(){
}

_ = DateField$2.prototype = new Object_0;
_.getClass$ = getClass_199;
_.handleEvent = handleEvent_27;
_.typeId$ = 153;
_.this$0 = null;
function $DateField$3(this$static, this$0){
  this$static.this$0 = this$0;
  this$static.ignoreList = $CompositeElement(new CompositeElement);
  return this$static;
}

function getClass_200(){
  return Lcom_extjs_gxt_ui_client_widget_form_DateField$3_2_classLit;
}

function onPreview_4(pe){
  switch (pe.type_0.eventCode) {
    case 16384:
    case 131072:
    case 4:
      $collapseIf(this.this$0, pe);
  }
  return true;
}

function DateField$3(){
}

_ = DateField$3.prototype = new BaseEventPreview;
_.getClass$ = getClass_200;
_.onPreview = onPreview_4;
_.typeId$ = 154;
_.this$0 = null;
function $clinit_226(){
  $clinit_226 = nullMethod;
  $clinit_128();
}

function $DateField$4(this$static, $anonymous0, this$0){
  $clinit_226();
  this$static.this$0 = this$0;
  $bind(this$static, $anonymous0);
  return this$static;
}

function $onEsc(this$static){
  !!this$static.this$0.menu && this$static.this$0.menu.attached && $hide_6(this$static.this$0.menu, false);
}

function getClass_201(){
  return Lcom_extjs_gxt_ui_client_widget_form_DateField$4_2_classLit;
}

function onDown_0(p0){
  $onDown(this.this$0, dynamicCast(p0, 83));
}

function onEsc_0(p0){
  $onEsc(this, dynamicCast(p0, 83));
}

function DateField$4(){
}

_ = DateField$4.prototype = new KeyNav;
_.getClass$ = getClass_201;
_.onDown = onDown_0;
_.onEsc = onEsc_0;
_.typeId$ = 155;
_.this$0 = null;
function $Field$FieldMessages(this$static){
  this$static.invalidText_0 = ($clinit_0() , 'The value in this field is invalid');
  return this$static;
}

function getClass_202(){
  return Lcom_extjs_gxt_ui_client_widget_form_Field$FieldMessages_2_classLit;
}

function getInvalidText(){
  return this.invalidText_0;
}

function Field$FieldMessages(){
}

_ = Field$FieldMessages.prototype = new Object_0;
_.getClass$ = getClass_202;
_.getInvalidText = getInvalidText;
_.typeId$ = 0;
function $TextField$TextFieldMessages(this$static){
  this$static.invalidText_0 = ($clinit_0() , 'The value in this field is invalid');
  return this$static;
}

function getClass_203(){
  return Lcom_extjs_gxt_ui_client_widget_form_TextField$TextFieldMessages_2_classLit;
}

function TextField$TextFieldMessages(){
}

_ = TextField$TextFieldMessages.prototype = new Field$FieldMessages;
_.getClass$ = getClass_203;
_.typeId$ = 156;
_.maxLengthText = null;
_.minLengthText = null;
function $DateField$DateFieldMessages(this$static){
  this$static.invalidText_0 = ($clinit_0() , 'The value in this field is invalid');
  return this$static;
}

function getClass_204(){
  return Lcom_extjs_gxt_ui_client_widget_form_DateField$DateFieldMessages_2_classLit;
}

function getInvalidText_0(){
  return this.invalidText;
}

function DateField$DateFieldMessages(){
}

_ = DateField$DateFieldMessages.prototype = new TextField$TextFieldMessages;
_.getClass$ = getClass_204;
_.getInvalidText = getInvalidText_0;
_.typeId$ = 157;
_.invalidText = null;
function $DateTimePropertyEditor(this$static){
  this$static.format = getShortDateFormat();
  return this$static;
}

function convertStringValue(p0){
  return $parse(this.format, p0, true);
}

function getClass_205(){
  return Lcom_extjs_gxt_ui_client_widget_form_DateTimePropertyEditor_2_classLit;
}

function getStringValue(p0){
  return $format(this.format, dynamicCast(p0, 55));
}

function DateTimePropertyEditor(){
}

_ = DateTimePropertyEditor.prototype = new Object_0;
_.convertStringValue = convertStringValue;
_.getClass$ = getClass_205;
_.getStringValue = getStringValue;
_.typeId$ = 158;
function $Field$1(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function execute_5(){
  $isAttached_0(this.this$0.errorIcon) && $show_0(this.this$0.errorIcon);
}

function getClass_206(){
  return Lcom_extjs_gxt_ui_client_widget_form_Field$1_2_classLit;
}

function Field$1(){
}

_ = Field$1.prototype = new Object_0;
_.execute = execute_5;
_.getClass$ = getClass_206;
_.typeId$ = 159;
_.this$0 = null;
function $Field$2(this$static, this$0, val$e){
  this$static.this$0 = this$0;
  this$static.val$e = val$e;
  return this$static;
}

function execute_6(){
  this.this$0.onBlur(this.val$e);
}

function getClass_207(){
  return Lcom_extjs_gxt_ui_client_widget_form_Field$2_2_classLit;
}

function Field$2(){
}

_ = Field$2.prototype = new Object_0;
_.execute = execute_6;
_.getClass$ = getClass_207;
_.typeId$ = 160;
_.this$0 = null;
_.val$e = null;
function $Field$3(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function execute_7(){
  $alignTo(this.this$0.errorIcon.el, $getElement_0(this.this$0), 'tl-tr', initValues(_3I_classLit, 328, -1, [2, 3]));
}

function getClass_208(){
  return Lcom_extjs_gxt_ui_client_widget_form_Field$3_2_classLit;
}

function Field$3(){
}

_ = Field$3.prototype = new Object_0;
_.execute = execute_7;
_.getClass$ = getClass_208;
_.typeId$ = 161;
_.this$0 = null;
function $Field$FieldImages(this$static){
  this$static.invalid = ($clinit_0() , $clinit_103() , field_invalid_SINGLETON);
  return this$static;
}

function getClass_209(){
  return Lcom_extjs_gxt_ui_client_widget_form_Field$FieldImages_2_classLit;
}

function Field$FieldImages(){
}

_ = Field$FieldImages.prototype = new Object_0;
_.getClass$ = getClass_209;
_.typeId$ = 0;
function $clinit_235(){
  $clinit_235 = nullMethod;
  $clinit_143();
}

function $FormPanel(this$static){
  $clinit_235();
  $ContentPanel(this$static);
  this$static.labelAlign = ($clinit_237() , LEFT_2);
  this$static.method = ($clinit_238() , GET);
  this$static.frameName = 'gxt.formpanel-' + ++formId;
  $setTarget(this$static, this$static.frameName);
  return this$static;
}

function $setAction(this$static, url){
  this$static.action_0 = url;
  this$static.rendered && (this$static.form.dom_0.setAttribute('action', url) , undefined);
}

function $setMethod(this$static, method){
  this$static.method = method;
  this$static.rendered && (this$static.form.dom_0.setAttribute('method', method.name_0.toLowerCase()) , undefined);
}

function $setTarget(this$static, target){
  this$static.target_0 = target;
  this$static.rendered && (this$static.form.dom_0['target'] = target , undefined);
}

function adjustBodySize_1(){
  return $getFrameSize(this.body_0);
}

function getClass_210(){
  return Lcom_extjs_gxt_ui_client_widget_form_FormPanel_2_classLit;
}

function getLayoutTarget_3(){
  return this.form;
}

function onAttach_4(){
  var dummy;
  $onAttach_2(this);
  dummy = ($clinit_308() , $doc).createElement('div');
  dummy.innerHTML = '<iframe id="' + ($clinit_34() , 'x-auto-' + autoId++) + '"' + (($clinit_0() , isIE_0) && isSecure?' src="' + SSL_SECURE_URL + '"':'') + " name='" + this.frameName + "' style='position:absolute;width:0;height:0;border:0'>" || '';
  this.iframe = $getFirstChildElement(dummy);
  ($doc.body || $doc.documentElement).appendChild(this.iframe);
  $hookEvents(this.iframe, this.form.dom_0, this);
}

function onDetach_7(){
  $onDetach_0(this);
  $onDetachHelper(this);
  $unhookEvents(this.iframe, this.form.dom_0);
  ($clinit_34() , $doc.body || $doc.documentElement).removeChild(this.iframe);
  this.iframe = null;
}

function onFormSubmit(){
  return $fireEvent_2(this, ($clinit_56() , BeforeSubmit), $FormEvent(new FormEvent, this));
}

function onFrameLoad(){
  addCommand($FormPanel$1(new FormPanel$1, this));
}

function onRender_24(target, index){
  var layout;
  $onRender_1(this, target, index);
  $setStyleAttribute(this.body_0, 'background', 'none');
  this.form = $El(new El, ($clinit_308() , $doc).createElement('form'));
  $setStyleAttribute(this.form, 'overflow', 'hidden');
  $appendChild(this.body_0, this.form.dom_0);
  $setMethod(this, this.method);
  $setTarget(this, this.target_0);
  this.action_0 != null && $setAction(this, this.action_0);
  $setStyleAttribute(this.form, 'padding', '10px');
  if (!this.layout_0) {
    layout = $FormLayout(new FormLayout);
    layout.defaultWidth = 210;
    layout.labelWidth = 75;
    $setLabelAlign(layout, this.labelAlign);
    layout.labelSeparator = ':';
    layout.hideLabels = this.hideLabels;
    $setLayout(this, layout);
  }
  $addEventsSunk(this.form, 32768);
}

function FormPanel(){
}

_ = FormPanel.prototype = new ContentPanel;
_.adjustBodySize = adjustBodySize_1;
_.getClass$ = getClass_210;
_.getLayoutTarget = getLayoutTarget_3;
_.onAttach = onAttach_4;
_.onDetach = onDetach_7;
_.onFormSubmit = onFormSubmit;
_.onFrameLoad = onFrameLoad;
_.onRender = onRender_24;
_.typeId$ = 162;
_.action_0 = 'javascript:;';
_.form = null;
_.frameName = null;
_.hideLabels = false;
_.iframe = null;
_.target_0 = null;
var formId = 0;
function $FormPanel$1(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function execute_8(){
  $fireEvent_2(this.this$0, ($clinit_56() , Submit), $FormEvent_0(new FormEvent, this.this$0, $getContents(($clinit_235() , this.this$0.iframe))));
}

function getClass_211(){
  return Lcom_extjs_gxt_ui_client_widget_form_FormPanel$1_2_classLit;
}

function FormPanel$1(){
}

_ = FormPanel$1.prototype = new Object_0;
_.execute = execute_8;
_.getClass$ = getClass_211;
_.typeId$ = 163;
_.this$0 = null;
function $clinit_237(){
  $clinit_237 = nullMethod;
  LEFT_2 = $FormPanel$LabelAlign(new FormPanel$LabelAlign, 'LEFT', 0);
  TOP_1 = $FormPanel$LabelAlign(new FormPanel$LabelAlign, 'TOP', 1);
  RIGHT_3 = $FormPanel$LabelAlign(new FormPanel$LabelAlign, 'RIGHT', 2);
}

function $FormPanel$LabelAlign(this$static, enum$name, enum$ordinal){
  $clinit_237();
  this$static.name_0 = enum$name;
  this$static.ordinal = enum$ordinal;
  return this$static;
}

function getClass_212(){
  return Lcom_extjs_gxt_ui_client_widget_form_FormPanel$LabelAlign_2_classLit;
}

function values_13(){
  $clinit_237();
  return initValues(_3Lcom_extjs_gxt_ui_client_widget_form_FormPanel$LabelAlign_2_classLit, 317, 18, [LEFT_2, TOP_1, RIGHT_3]);
}

function FormPanel$LabelAlign(){
}

_ = FormPanel$LabelAlign.prototype = new Enum;
_.getClass$ = getClass_212;
_.typeId$ = 164;
var LEFT_2, RIGHT_3, TOP_1;
function $clinit_238(){
  $clinit_238 = nullMethod;
  GET = $FormPanel$Method(new FormPanel$Method, 'GET', 0);
  POST = $FormPanel$Method(new FormPanel$Method, 'POST', 1);
}

function $FormPanel$Method(this$static, enum$name, enum$ordinal){
  $clinit_238();
  this$static.name_0 = enum$name;
  this$static.ordinal = enum$ordinal;
  return this$static;
}

function getClass_213(){
  return Lcom_extjs_gxt_ui_client_widget_form_FormPanel$Method_2_classLit;
}

function values_14(){
  $clinit_238();
  return initValues(_3Lcom_extjs_gxt_ui_client_widget_form_FormPanel$Method_2_classLit, 318, 19, [GET, POST]);
}

function FormPanel$Method(){
}

_ = FormPanel$Method.prototype = new Enum;
_.getClass$ = getClass_213;
_.typeId$ = 165;
var GET, POST;
function $clinit_239(){
  $clinit_239 = nullMethod;
  $clinit_220();
}

function $NumberField(this$static){
  $clinit_239();
  $TextField(this$static);
  this$static.maxValue = $Double(new Double, 1.7976931348623157E308);
  this$static.minValue = $Double(new Double, -Infinity);
  this$static.messages = $NumberField$NumberFieldMessages(new NumberField$NumberFieldMessages);
  this$static.propertyEditor = $NumberPropertyEditor(new NumberPropertyEditor);
  $ensureNumberConstants(($clinit_376() , $clinit_376() , instance_8));
  this$static.decimalSeparator = '.';
  return this$static;
}

function getClass_214(){
  return Lcom_extjs_gxt_ui_client_widget_form_NumberField_2_classLit;
}

function getMessages_1(){
  return dynamicCast(this.messages, 85);
}

function onKeyDown_1(fe){
  $fireEvent_2(this, ($clinit_56() , KeyDown), $FieldEvent_0(new FieldEvent, this, fe.event_0));
  this.lastKeyCode = !fe.event_0?-1:$eventGetKeyCode(($clinit_308() , fe.event_0));
}

function onKeyPress_3(fe){
  var key;
  $fireEvent_2(this, ($clinit_56() , KeyPress), $FieldEvent_0(new FieldEvent, this, fe.event_0));
  key = (!fe.event_0?-1:$eventGetKeyCode(($clinit_308() , fe.event_0))) & 65535;
  if ($isSpecialKey(this.lastKeyCode) || this.lastKeyCode == 8 || this.lastKeyCode == 46 || !!fe.event_0 && (!!($clinit_308() , fe.event_0).ctrlKey || !!fe.event_0.metaKey)) {
    return;
  }
  if ($indexOf_4(this.allowed, valueOf(key), 0) == -1) {
    !!fe.event_0 && (fe.event_0.cancelBubble = true , undefined);
    $preventDefault(fe);
  }
}

function onRender_25(target, index){
  var i;
  $onRender_4(this, target, index);
  this.allowed = $ArrayList(new ArrayList);
  for (i = 0; i < 10; ++i) {
    $add_13(this.allowed, valueOf('0123456789'.charCodeAt(i)));
  }
  $add_13(this.allowed, valueOf(45));
  for (i = 0; i < this.decimalSeparator.length; ++i) {
    $add_13(this.allowed, valueOf(this.decimalSeparator.charCodeAt(i)));
  }
}

function validateValue_2(value){
  var $e0, d, error, tv, v;
  tv = this.validator;
  this.validator = null;
  if (!$validateValue_0(this, value)) {
    this.validator = tv;
    return false;
  }
  this.validator = tv;
  if (value.length < 1) {
    return true;
  }
  v = value;
  d = null;
  try {
    d = $convertStringValue_0(dynamicCast(this.propertyEditor, 84), v);
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (instanceOf($e0, 54)) {
      error = '';
      dynamicCast(this.messages, 85).nanText == null?(error = ($clinit_0() , v) + ' is not a valid number'):(error = substitute(dynamicCast(this.messages, 85).nanText, initValues(_3Ljava_lang_Object_2_classLit, 337, 0, [v])));
      $markInvalid(this, error);
      return false;
    }
     else 
      throw $e0;
  }
  if (d.doubleValue() < this.minValue.value) {
    error = '';
    dynamicCast(this.messages, 85).minText == null?(error = 'The minimum value for this field is ' + ($clinit_0() , this.minValue.value)):(error = substitute(dynamicCast(this.messages, 85).minText, initValues(_3Ljava_lang_Object_2_classLit, 337, 0, [this.minValue])));
    $markInvalid(this, error);
    return false;
  }
  if (d.doubleValue() > this.maxValue.value) {
    error = '';
    dynamicCast(this.messages, 85).maxText == null?(error = 'The maximum value for this field is ' + ($clinit_0() , this.maxValue.value)):(error = substitute(dynamicCast(this.messages, 85).maxText, initValues(_3Ljava_lang_Object_2_classLit, 337, 0, [this.maxValue])));
    $markInvalid(this, error);
    return false;
  }
  return true;
}

function NumberField(){
}

_ = NumberField.prototype = new TextField;
_.getClass$ = getClass_214;
_.getMessages = getMessages_1;
_.onKeyDown = onKeyDown_1;
_.onKeyPress_0 = onKeyPress_3;
_.onRender = onRender_25;
_.validateValue = validateValue_2;
_.typeId$ = 166;
_.allowed = null;
_.decimalSeparator = '.';
_.lastKeyCode = 0;
function $NumberField$NumberFieldMessages(this$static){
  this$static.invalidText_0 = ($clinit_0() , 'The value in this field is invalid');
  return this$static;
}

function getClass_215(){
  return Lcom_extjs_gxt_ui_client_widget_form_NumberField$NumberFieldMessages_2_classLit;
}

function NumberField$NumberFieldMessages(){
}

_ = NumberField$NumberFieldMessages.prototype = new TextField$TextFieldMessages;
_.getClass$ = getClass_215;
_.typeId$ = 167;
_.maxText = null;
_.minText = null;
_.nanText = null;
function $NumberPropertyEditor(this$static){
  $ensureNumberConstants(($clinit_376() , $clinit_376() , instance_8));
  this$static.groupSeparator = ',';
  return this$static;
}

--></script>
<script><!--
function $convertStringValue_0(this$static, value){
  var $e0, d, stripValue;
  try {
    if (this$static.type_0 == Ljava_lang_Short_2_classLit) {
      return valueOf_2(__parseAndValidateInt(value, 10, -32768, 32767) << 16 >> 16);
    }
     else if (this$static.type_0 == Ljava_lang_Integer_2_classLit) {
      return valueOf_0(__parseAndValidateInt(value, 10, -2147483648, 2147483647));
    }
     else if (this$static.type_0 == Ljava_lang_Long_2_classLit) {
      return $Long(new Long, parseLong(value, 10));
    }
     else if (this$static.type_0 == Ljava_lang_Float_2_classLit) {
      return $Float(new Float, __parseAndValidateDouble(value));
    }
     else {
      return $Double(new Double, __parseAndValidateDouble(value));
    }
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (!instanceOf($e0, 54))
      throw $e0;
  }
  stripValue = $stripValue(this$static, value);
  try {
    if (this$static.type_0 == Ljava_lang_Short_2_classLit) {
      return valueOf_2(__parseAndValidateInt(stripValue, 10, -32768, 32767) << 16 >> 16);
    }
     else if (this$static.type_0 == Ljava_lang_Integer_2_classLit) {
      return valueOf_0(__parseAndValidateInt(stripValue, 10, -2147483648, 2147483647));
    }
     else if (this$static.type_0 == Ljava_lang_Long_2_classLit) {
      return $Long(new Long, parseLong(stripValue, 10));
    }
     else if (this$static.type_0 == Ljava_lang_Float_2_classLit) {
      return $Float(new Float, __parseAndValidateDouble(stripValue));
    }
     else {
      return $Double(new Double, __parseAndValidateDouble(stripValue));
    }
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (!instanceOf($e0, 54))
      throw $e0;
  }
  d = $Double(new Double, $parse_1(($clinit_379() , !cachedDecimalFormat && (cachedDecimalFormat = $NumberFormat_0(new NumberFormat, '#,##0.###', ['USD', '$', 2, 'US$'], false)) , cachedDecimalFormat), value));
  return $returnTypedValue(this$static, d);
}

function $returnTypedValue(this$static, number){
  if (this$static.type_0 == Ljava_lang_Short_2_classLit) {
    return valueOf_2(~~Math.max(Math.min(number.value, 2147483647), -2147483648) << 16 >> 16);
  }
   else if (this$static.type_0 == Ljava_lang_Integer_2_classLit) {
    return valueOf_0(~~Math.max(Math.min(number.value, 2147483647), -2147483648));
  }
   else if (this$static.type_0 == Ljava_lang_Long_2_classLit) {
    return valueOf_1(fromDouble(number.value));
  }
   else if (this$static.type_0 == Ljava_lang_Float_2_classLit) {
    return $Float(new Float, number.value);
  }
  return number;
}

function $stripValue(this$static, value){
  this$static.stripCurrencySymbol && (value = $replaceAll(value, '\\$', ''));
  this$static.stripAlphas && (value = $replaceAll(value, '[a-zA-Z]', ''));
  this$static.stripGroupSeparator && (value = $replaceAll(value, this$static.groupSeparator, ''));
  return value;
}

function convertStringValue_0(p0){
  return $convertStringValue_0(this, p0);
}

function getClass_216(){
  return Lcom_extjs_gxt_ui_client_widget_form_NumberPropertyEditor_2_classLit;
}

function getStringValue_0(p0){
  return toString__devirtual$(dynamicCast(p0, 35));
}

function NumberPropertyEditor(){
}

_ = NumberPropertyEditor.prototype = new Object_0;
_.convertStringValue = convertStringValue_0;
_.getClass$ = getClass_216;
_.getStringValue = getStringValue_0;
_.typeId$ = 168;
_.groupSeparator = null;
_.stripAlphas = false;
_.stripCurrencySymbol = false;
_.stripGroupSeparator = false;
_.type_0 = null;
function $clinit_242(){
  $clinit_242 = nullMethod;
  DEFAULT = new PropertyEditor$1;
}

var DEFAULT;
function convertStringValue_1(value){
  return value;
}

function getClass_217(){
  return Lcom_extjs_gxt_ui_client_widget_form_PropertyEditor$1_2_classLit;
}

function getStringValue_1(value){
  return toString__devirtual$(value);
}

function PropertyEditor$1(){
}

_ = PropertyEditor$1.prototype = new Object_0;
_.convertStringValue = convertStringValue_1;
_.getClass$ = getClass_217;
_.getStringValue = getStringValue_1;
_.typeId$ = 0;
function $TextField$1(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function getClass_218(){
  return Lcom_extjs_gxt_ui_client_widget_form_TextField$1_2_classLit;
}

function handleEvent_28(be){
  $validate(this.this$0, false);
}

function TextField$1(){
}

_ = TextField$1.prototype = new Object_0;
_.getClass$ = getClass_218;
_.handleEvent = handleEvent_28;
_.typeId$ = 169;
_.this$0 = null;
function $TriggerField$1(this$static, this$0){
  this$static.this$0 = this$0;
  this$static.ignoreList = $CompositeElement(new CompositeElement);
  return this$static;
}

function getClass_219(){
  return Lcom_extjs_gxt_ui_client_widget_form_TriggerField$1_2_classLit;
}

function onAutoHide_3(ce){
  (!ce.event_0?-1:$eventGetTypeInt(($clinit_308() , ce.event_0).type)) == 4 && $mimicBlur(this.this$0, ce, !ce.event_0?null:($clinit_308() , ce.event_0).target);
  return false;
}

function TriggerField$1(){
}

_ = TriggerField$1.prototype = new BaseEventPreview;
_.getClass$ = getClass_219;
_.onAutoHide = onAutoHide_3;
_.typeId$ = 170;
_.this$0 = null;
function getClass_220(){
  return Lcom_extjs_gxt_ui_client_widget_layout_LayoutData_2_classLit;
}

function LayoutData(){
}

_ = LayoutData.prototype = new Object_0;
_.getClass$ = getClass_220;
_.typeId$ = 171;
function getClass_221(){
  return Lcom_extjs_gxt_ui_client_widget_layout_MarginData_2_classLit;
}

function MarginData(){
}

_ = MarginData.prototype = new LayoutData;
_.getClass$ = getClass_221;
_.typeId$ = 172;
function getClass_222(){
  return Lcom_extjs_gxt_ui_client_widget_layout_AnchorData_2_classLit;
}

function AnchorData(){
}

_ = AnchorData.prototype = new MarginData;
_.getClass$ = getClass_222;
_.typeId$ = 173;
function $onLayout_0(this$static, container, target){
  var comp, comp$iterator, d, layoutData;
  $onLayout(this$static, container, target);
  $getStyleSize(target);
  for (comp$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, container.items); comp$iterator.i < comp$iterator.this$0_0.size_0();) {
    comp = dynamicCast($next_4(comp$iterator), 63);
    layoutData = null;
    d = dynamicCast($getData(comp, 'layoutData'), 72);
    !!d && d != null && canCast(d.typeId$, 87)?(layoutData = dynamicCast(d, 87)):(layoutData = dynamicCast($getData(comp, 'anchorSpec'), 87));
    !layoutData && (layoutData = new AnchorData);
  }
}

function getClass_223(){
  return Lcom_extjs_gxt_ui_client_widget_layout_AnchorLayout_2_classLit;
}

function onLayout_0(container, target){
  $onLayout_0(this, container, target);
}

function AnchorLayout(){
}

_ = AnchorLayout.prototype = new Layout;
_.getClass$ = getClass_223;
_.onLayout = onLayout_0;
_.typeId$ = 0;
function $BorderLayout(this$static){
  this$static.componentListener = $Layout$1(new Layout$1, this$static);
  this$static.targetStyleName = 'x-border-layout-ct';
  this$static.componentStyleName = 'x-border-panel';
  this$static.monitorResize = true;
  this$static.collapseListener = $BorderLayout$1(new BorderLayout$1, this$static);
  return this$static;
}

function $applyLayout(component, box){
  component.setPosition(box.x, box.y);
  $setSize_1(component, box.width, box.height);
}

function $createBorderLaoutEvent(this$static, panel){
  var data, event_0;
  event_0 = $BorderLayoutEvent(new BorderLayoutEvent, this$static);
  data = dynamicCast($getData(panel, 'layoutData'), 72);
  !!data && data != null && canCast(data.typeId$, 88) && dynamicCast(data, 88);
  return event_0;
}

function $createCollapsePanel(this$static, panel, data){
  var collapseData, cp;
  cp = $BorderLayout$2(new BorderLayout$2, panel, data, this$static);
  collapseData = $BorderLayoutData(new BorderLayoutData, data.region);
  collapseData.size = 24;
  $setMargins(collapseData, data.margins);
  setLayoutData(cp, collapseData);
  !cp.dataMap && (cp.dataMap = $FastMap(new FastMap));
  $put_0(cp.dataMap, 'panel', panel);
  !panel.dataMap && (panel.dataMap = $FastMap(new FastMap));
  $put_0(panel.dataMap, 'collapse', cp);
  return cp;
}

function $getRegionWidget(this$static, region){
  var d, data, i, w;
  for (i = 0; i < this$static.container.items.size; ++i) {
    w = dynamicCast($getItem(this$static.container, i), 74);
    d = dynamicCast($getData(w, 'layoutData'), 72);
    if (!!d && d != null && canCast(d.typeId$, 88)) {
      data = dynamicCast(d, 88);
      if (data.region == region) {
        return w;
      }
    }
  }
  return null;
}

function $initPanel(this$static, component){
  var collapse, data, icon, panel;
  data = dynamicCast(dynamicCast($getData(component, 'layoutData'), 72), 88);
  icon = null;
  switch (data.region.ordinal) {
    case 3:
      icon = 'left';
      break;
    case 1:
      icon = 'right';
      break;
    case 0:
      icon = 'up';
      break;
    case 2:
      icon = 'down';
  }
  if (data.collapsible && component != null && canCast(component.typeId$, 61)) {
    panel = dynamicCast(component, 61);
    collapse = dynamicCast($getData(panel, 'collapseBtn'), 90);
    if (!collapse) {
      collapse = $ToolButton(new ToolButton, 'x-tool-' + icon);
      $addListener(collapse.observable, ($clinit_56() , Select), $BorderLayout$3(new BorderLayout$3, panel));
      !panel.dataMap && (panel.dataMap = $FastMap(new FastMap));
      $put_0(panel.dataMap, 'collapseBtn', collapse);
      $addTool(panel.head, collapse);
      !collapse.dataMap && (collapse.dataMap = $FastMap(new FastMap));
      $put_0(collapse.dataMap, 'panel', panel);
    }
    $removeListener(panel.observable, ($clinit_56() , BeforeCollapse), this$static.collapseListener);
    $removeListener(panel.observable, BeforeExpand, this$static.collapseListener);
    $addListener(panel.observable, BeforeCollapse, this$static.collapseListener);
    $addListener(panel.observable, BeforeExpand, this$static.collapseListener);
    !panel.dataMap && (panel.dataMap = $FastMap(new FastMap));
    $put_1(panel.dataMap.map, dynamicCast('init', 1), 'true');
  }
}

function $initSplitBar(this$static, region, component, data){
  var bar, fBar, splitBarListener;
  bar = dynamicCast($getData(component, 'splitBar'), 62);
  if (!bar || bar.resizeWidget != component) {
    bar = $SplitBar(new SplitBar, region, component);
    fBar = bar;
    splitBarListener = $BorderLayout$4(new BorderLayout$4, this$static, region, component, fBar);
    !component.dataMap && (component.dataMap = $FastMap(new FastMap));
    $put_0(component.dataMap, 'splitBar', bar);
    $addListener(bar.observable, ($clinit_56() , DragStart), splitBarListener);
    bar.minSize = 50;
    bar.maxSize = 500;
    bar.autoSize = false;
    $addListener(bar.observable, DragEnd, $BorderLayout$5(new BorderLayout$5, this$static, data));
    !component.dataMap && (component.dataMap = $FastMap(new FastMap));
    $put_0(component.dataMap, 'splitBar', bar);
  }
}

function $onCollapse_0(this$static, panel){
  var cp, data, layoutOnChange, st;
  if ($indexOf_4(this$static.layoutContainer.items, panel, 0) != -1 && $fireEvent(this$static, ($clinit_56() , BeforeCollapse), $createBorderLaoutEvent(this$static, panel))) {
    data = dynamicCast(dynamicCast($getData(panel, 'layoutData'), 72), 88);
    layoutOnChange = this$static.layoutContainer.layoutOnChange;
    this$static.layoutContainer.layoutOnChange = false;
    $remove_8(this$static.layoutContainer, panel);
    st = $getState(panel);
    st.put('collapsed', ($clinit_484() , $clinit_484() , TRUE_0));
    $saveState(panel);
    panel.collapsed = true;
    cp = dynamicCast($getData(panel, 'collapse'), 89);
    !cp && (cp = $createCollapsePanel(this$static, panel, data));
    $add_6(this$static.layoutContainer, cp);
    $layout_3(this$static);
    this$static.layoutContainer.layoutOnChange = layoutOnChange;
    $fireEvent(this$static, ($clinit_56() , Collapse), $createBorderLaoutEvent(this$static, panel));
  }
}

function $onExpand(this$static, panel){
  var cp, layoutOnChange, st;
  cp = dynamicCast($getData(panel, 'collapse'), 89);
  if (!!cp && $indexOf_4(this$static.layoutContainer.items, cp, 0) != -1 && $fireEvent(this$static, ($clinit_56() , BeforeExpand), $createBorderLaoutEvent(this$static, panel))) {
    layoutOnChange = this$static.layoutContainer.layoutOnChange;
    this$static.layoutContainer.layoutOnChange = false;
    panel.collapsed = false;
    st = $getState(panel);
    st.remove_0('collapsed');
    $saveState(panel);
    $remove_8(this$static.layoutContainer, cp);
    $add_6(this$static.layoutContainer, panel);
    $layout_3(this$static);
    this$static.layoutContainer.layoutOnChange = layoutOnChange;
    $fireEvent(this$static, ($clinit_56() , Expand), $createBorderLaoutEvent(this$static, panel));
  }
}

function $removeSplitBar_0(c){
  var splitBar;
  splitBar = dynamicCast($getData(c, 'splitBar'), 62);
  if (splitBar) {
    $release_1(splitBar);
    !c.dataMap && (c.dataMap = $FastMap(new FastMap));
    $put_1(c.dataMap.map, dynamicCast('splitBar', 1), null);
  }
}

function $switchPanels(this$static, panel){
  var cp, data, layoutOnChange;
  data = dynamicCast(dynamicCast($getData(panel, 'layoutData'), 72), 88);
  $remove_8(this$static.layoutContainer, panel);
  cp = dynamicCast($getData(panel, 'collapse'), 89);
  !cp && (cp = $createCollapsePanel(this$static, panel, data));
  $initPanel(this$static, panel);
  panel.collapsed = true;
  layoutOnChange = this$static.layoutContainer.layoutOnChange;
  this$static.layoutContainer.layoutOnChange = false;
  $add_6(this$static.layoutContainer, cp);
  $renderComponent(this$static, cp, 0, this$static.layoutContainer.getLayoutTarget());
  layoutOnChange && (this$static.layoutContainer.layoutOnChange = true , undefined);
}

function getClass_224(){
  return Lcom_extjs_gxt_ui_client_widget_layout_BorderLayout_2_classLit;
}

function onComponentHide_0(component){
  var data;
  if (!!component && component.rendered) {
    data = dynamicCast(dynamicCast($getData(component, 'layoutData'), 72), 88);
    data.hidden = true;
    $layout_3(this);
  }
}

function onComponentShow_0(component){
  var data;
  if (!!component && component.rendered) {
    data = dynamicCast(dynamicCast($getData(component, 'layoutData'), 72), 88);
    data.hidden = false;
    $layout_3(this);
  }
}

function onLayout_1(container, target){
  var b, box, c, c$iterator, centerH, centerW, centerX, centerY, data, h, list, m, s, sLeft, sTop, size, st, totalHeight, totalWidth, w;
  $onLayout(this, container, target);
  list = $ArrayList_0(new ArrayList, container.items);
  for (c$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, list); c$iterator.i < c$iterator.this$0_0.size_0();) {
    c = dynamicCast($next_4(c$iterator), 63);
    data = dynamicCast(dynamicCast($getData(c, 'layoutData'), 72), 88);
    st = $getState(c);
    st.containsKey('collapsed') && c != null && canCast(c.typeId$, 61)?$switchPanels(this, dynamicCast(c, 61)):st.containsKey('size') && c != null && canCast(c.typeId$, 74) && !(c != null && canCast(c.typeId$, 89)) && (data.size = dynamicCast(st.get_0('size'), 52).value , undefined);
  }
  size = $getStyleSize(target);
  w = size.width;
  h = size.height;
  sLeft = $getFrameWidth(target, 'l');
  sTop = $getFrameWidth(target, 't');
  centerW = w;
  centerH = h;
  centerY = 0;
  centerX = 0;
  this.north = $getRegionWidget(this, ($clinit_12() , NORTH));
  this.south = $getRegionWidget(this, SOUTH);
  this.west = $getRegionWidget(this, WEST);
  this.east = $getRegionWidget(this, EAST);
  this.center = $getRegionWidget(this, CENTER_0);
  if (this.north) {
    data = dynamicCast(dynamicCast($getData(this.north, 'layoutData'), 72), 88);
    $setVisible_0(this.north, !data.hidden);
    if (data.hidden) {
      $removeSplitBar_0(this.north);
    }
     else {
      $getData(this.north, 'init') == null && $initPanel(this, this.north);
      data.split_0?$initSplitBar(this, SOUTH, this.north, data):$removeSplitBar_0(this.north);
      b = new Rectangle;
      m = data.margins;
      s = data.size <= 1?data.size * size.height:data.size;
      b.height = ~~Math.max(Math.min(s, 2147483647), -2147483648);
      b.width = w - (m.left_0 + m.right);
      b.x = m.left_0;
      b.y = m.top_0;
      centerY = b.height + b.y + m.bottom;
      centerH -= centerY;
      b.x += sLeft;
      b.y += sTop;
      $applyLayout(this.north, b);
    }
  }
  if (this.south) {
    data = dynamicCast(dynamicCast($getData(this.south, 'layoutData'), 72), 88);
    $setVisible_0(this.south, !data.hidden);
    if (data.hidden) {
      $removeSplitBar_0(this.south);
    }
     else {
      $getData(this.south, 'init') == null && $initPanel(this, this.south);
      data.split_0?$initSplitBar(this, NORTH, this.south, data):$removeSplitBar_0(this.south);
      b = $getBounds(this.south.el, false, false);
      m = data.margins;
      s = data.size <= 1?data.size * size.height:data.size;
      b.height = ~~Math.max(Math.min(s, 2147483647), -2147483648);
      b.width = w - (m.left_0 + m.right);
      b.x = m.left_0;
      totalHeight = b.height + m.top_0 + m.bottom;
      b.y = h - totalHeight + m.top_0;
      centerH -= totalHeight;
      b.x += sLeft;
      b.y += sTop;
      $applyLayout(this.south, b);
    }
  }
  if (this.west) {
    data = dynamicCast(dynamicCast($getData(this.west, 'layoutData'), 72), 88);
    $setVisible_0(this.west, !data.hidden);
    if (data.hidden) {
      $removeSplitBar_0(this.west);
    }
     else {
      $getData(this.west, 'init') == null && $initPanel(this, this.west);
      data.split_0?$initSplitBar(this, EAST, this.west, data):$removeSplitBar_0(this.west);
      box = new Rectangle;
      m = data.margins;
      s = data.size <= 1?data.size * size.width:data.size;
      box.width = ~~Math.max(Math.min(s, 2147483647), -2147483648);
      box.height = centerH - (m.top_0 + m.bottom);
      box.x = m.left_0;
      box.y = centerY + m.top_0;
      totalWidth = box.width + m.left_0 + m.right;
      centerX += totalWidth;
      centerW -= totalWidth;
      box.x += sLeft;
      box.y += sTop;
      $applyLayout(this.west, box);
    }
  }
  if (this.east) {
    data = dynamicCast(dynamicCast($getData(this.east, 'layoutData'), 72), 88);
    $setVisible_0(this.east, !data.hidden);
    if (data.hidden) {
      $removeSplitBar_0(this.east);
    }
     else {
      $getData(this.east, 'init') == null && $initPanel(this, this.east);
      data.split_0?$initSplitBar(this, WEST, this.east, data):$removeSplitBar_0(this.east);
      b = $getBounds(this.east.el, false, false);
      m = data.margins;
      s = data.size <= 1?data.size * size.width:data.size;
      b.width = ~~Math.max(Math.min(s, 2147483647), -2147483648);
      b.height = centerH - (m.top_0 + m.bottom);
      totalWidth = b.width + m.left_0 + m.right;
      b.x = w - totalWidth + m.left_0;
      b.y = centerY + m.top_0;
      centerW -= totalWidth;
      b.x += sLeft;
      b.y += sTop;
      $applyLayout(this.east, b);
    }
  }
  this.lastCenter = $Rectangle(new Rectangle, centerX, centerY, centerW, centerH);
  if (this.center) {
    data = dynamicCast(dynamicCast($getData(this.center, 'layoutData'), 72), 88);
    m = data.margins;
    this.lastCenter.x = centerX + m.left_0;
    this.lastCenter.y = centerY + m.top_0;
    this.lastCenter.width = centerW - (m.left_0 + m.right);
    this.lastCenter.height = centerH - (m.top_0 + m.bottom);
    this.lastCenter.x += sLeft;
    this.lastCenter.y += sTop;
    $applyLayout(this.center, this.lastCenter);
  }
}

function onRemove_0(component){
  var panel, splitBar, tool;
  $onRemove_0(this, component);
  if (component != null && canCast(component.typeId$, 61)) {
    panel = dynamicCast(component, 61);
    if ($getData(panel, 'collapseBtn') != null) {
      tool = dynamicCast($getData(panel, 'collapseBtn'), 63);
      $removeAllListeners(tool.observable);
      $removeTool(panel.head, tool);
    }
    $removeListener(panel.observable, ($clinit_56() , BeforeCollapse), this.collapseListener);
    $removeListener(panel.observable, BeforeExpand, this.collapseListener);
  }
  !component.dataMap && (component.dataMap = $FastMap(new FastMap));
  $put_1(component.dataMap.map, dynamicCast('init', 1), null);
  !component.dataMap && (component.dataMap = $FastMap(new FastMap));
  $put_1(component.dataMap.map, dynamicCast('collapseBtn', 1), null);
  !component.dataMap && (component.dataMap = $FastMap(new FastMap));
  $put_1(component.dataMap.map, dynamicCast('collapse', 1), null);
  splitBar = dynamicCast($getData(component, 'splitBar'), 62);
  if (splitBar) {
    $release_1(splitBar);
    !component.dataMap && (component.dataMap = $FastMap(new FastMap));
    $put_1(component.dataMap.map, dynamicCast('splitBar', 1), null);
  }
}

function setContainer_0(ct){
  $setContainer(this, ct);
  this.layoutContainer = dynamicCast(ct, 67);
}

function BorderLayout(){
}

_ = BorderLayout.prototype = new Layout;
_.getClass$ = getClass_224;
_.onComponentHide = onComponentHide_0;
_.onComponentShow = onComponentShow_0;
_.onLayout = onLayout_1;
_.onRemove = onRemove_0;
_.setContainer = setContainer_0;
_.typeId$ = 0;
_.center = null;
_.collapseListener = null;
_.east = null;
_.lastCenter = null;
_.layoutContainer = null;
_.north = null;
_.south = null;
_.west = null;
function $BorderLayout$1(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $handleEvent_27(this$static, e){
  var type;
  type = e.type_0;
  if (type == ($clinit_56() , BeforeCollapse)) {
    e.cancelled = true;
    $onCollapse_0(this$static.this$0, dynamicCast(e.component, 61));
  }
   else if (type == BeforeExpand) {
    e.cancelled = true;
    $onExpand(this$static.this$0, dynamicCast(e.component, 61));
  }
}

function getClass_225(){
  return Lcom_extjs_gxt_ui_client_widget_layout_BorderLayout$1_2_classLit;
}

function handleEvent_29(p0){
  $handleEvent_27(this, dynamicCast(p0, 48));
}

function BorderLayout$1(){
}

_ = BorderLayout$1.prototype = new Object_0;
_.getClass$ = getClass_225;
_.handleEvent = handleEvent_29;
_.typeId$ = 174;
_.this$0 = null;
function $clinit_252(){
  $clinit_252 = nullMethod;
  $clinit_144();
}

function $BorderLayout$2(this$static, $anonymous0, $anonymous1, this$0){
  $clinit_252();
  this$static.this$0 = this$0;
  $ContentPanel(this$static);
  this$static.panel = $anonymous0;
  this$static.parentData = $anonymous1;
  this$static.region = $anonymous1.region;
  $collapse(this$static);
  this$static.deferHeight = false;
  return this$static;
}

function getClass_226(){
  return Lcom_extjs_gxt_ui_client_widget_layout_BorderLayout$2_2_classLit;
}

function onExpandButton_0(be){
  var panel_0;
  !this.collapsed && $setExpanded(this, false);
  panel_0 = this.panel;
  $onExpand(this.this$0, panel_0);
}

function BorderLayout$2(){
}

_ = BorderLayout$2.prototype = new CollapsePanel;
_.getClass$ = getClass_226;
_.onExpandButton = onExpandButton_0;
_.typeId$ = 175;
_.this$0 = null;
function $BorderLayout$3(this$static, val$panel){
  this$static.val$panel = val$panel;
  return this$static;
}

function $handleEvent_28(this$static){
  $collapse(this$static.val$panel);
}

function getClass_227(){
  return Lcom_extjs_gxt_ui_client_widget_layout_BorderLayout$3_2_classLit;
}

function handleEvent_30(p0){
  $handleEvent_28(this, dynamicCast(p0, 48));
}

function BorderLayout$3(){
}

_ = BorderLayout$3.prototype = new Object_0;
_.getClass$ = getClass_227;
_.handleEvent = handleEvent_30;
_.typeId$ = 176;
_.val$panel = null;
function $BorderLayout$4(this$static, this$0, val$region, val$component, val$fBar){
  this$static.this$0 = this$0;
  this$static.val$region = val$region;
  this$static.val$component = val$component;
  this$static.val$fBar = val$fBar;
  return this$static;
}

function $handleEvent_29(this$static){
  var centerSize, side, size;
  side = this$static.val$region == ($clinit_12() , WEST) || this$static.val$region == EAST;
  size = side?parseInt(this$static.val$component.getElement()['offsetWidth']) || 0:parseInt(this$static.val$component.getElement()['offsetHeight']) || 0;
  centerSize = side?this$static.this$0.lastCenter.width:this$static.this$0.lastCenter.height;
  this$static.val$fBar.minSize = 50;
  this$static.val$fBar.maxSize = size + centerSize < 500?size + centerSize:500;
}

function getClass_228(){
  return Lcom_extjs_gxt_ui_client_widget_layout_BorderLayout$4_2_classLit;
}

function handleEvent_31(p0){
  $handleEvent_29(this, dynamicCast(p0, 48));
}

function BorderLayout$4(){
}

_ = BorderLayout$4.prototype = new Object_0;
_.getClass$ = getClass_228;
_.handleEvent = handleEvent_31;
_.typeId$ = 177;
_.this$0 = null;
_.val$component = null;
_.val$fBar = null;
_.val$region = null;
function $BorderLayout$5(this$static, this$0, val$data){
  this$static.this$0 = this$0;
  this$static.val$data = val$data;
  return this$static;
}

function $handleEvent_30(this$static, sbe){
  var c, state;
  if (sbe.size < 1) {
    return;
  }
  this$static.val$data.size = sbe.size;
  c = sbe.splitBar.resizeWidget;
  state = $getState(c);
  state.put('size', $Float(new Float, this$static.val$data.size));
  $saveState(c);
  $layout_3(this$static.this$0);
}

function getClass_229(){
  return Lcom_extjs_gxt_ui_client_widget_layout_BorderLayout$5_2_classLit;
}

function handleEvent_32(p0){
  $handleEvent_30(this, dynamicCast(p0, 91));
}

function BorderLayout$5(){
}

_ = BorderLayout$5.prototype = new Object_0;
_.getClass$ = getClass_229;
_.handleEvent = handleEvent_32;
_.typeId$ = 178;
_.this$0 = null;
_.val$data = null;
function $BorderLayoutData(this$static, region){
  this$static.margins = $Margins(new Margins);
  this$static.region = region;
  return this$static;
}

function $BorderLayoutData_0(this$static, region, size){
  this$static.margins = $Margins(new Margins);
  this$static.region = region;
  this$static.size = size;
  return this$static;
}

function $setMargins(this$static, margins){
  this$static.margins = margins;
}

function getClass_230(){
  return Lcom_extjs_gxt_ui_client_widget_layout_BorderLayoutData_2_classLit;
}

function BorderLayoutData(){
}

_ = BorderLayoutData.prototype = new LayoutData;
_.getClass$ = getClass_230;
_.typeId$ = 179;
_.collapsible = false;
_.hidden = false;
_.region = null;
_.size = 200;
_.split_0 = false;
function $FitLayout(this$static){
  this$static.componentListener = $Layout$1(new Layout$1, this$static);
  this$static.monitorResize = true;
  return this$static;
}

function $setItemSize(item, size){
  if (!!item && item.rendered) {
    size.width -= $getSideMargins(item);
    size.height -= $getMargins(item.el, 'tb');
    $setSize_3(item, size.width, size.height);
  }
}

function getClass_231(){
  return Lcom_extjs_gxt_ui_client_widget_layout_FitLayout_2_classLit;
}

function onLayout_2(container, target){
  if (container.items.size == 0) {
    return;
  }
  this.activeItem = this.activeItem?this.activeItem:0 < container.items.size?dynamicCast($get_9(container.items, 0), 63):null;
  $onLayout(this, container, target);
  $setItemSize(this.activeItem, $getStyleSize(target));
}

function FitLayout(){
}

_ = FitLayout.prototype = new Layout;
_.getClass$ = getClass_231;
_.onLayout = onLayout_2;
_.typeId$ = 0;
function $FlowLayout(this$static){
  this$static.componentListener = $Layout$1(new Layout$1, this$static);
  return this$static;
}

function getClass_232(){
  return Lcom_extjs_gxt_ui_client_widget_layout_FlowLayout_2_classLit;
}

function onLayout_3(container, target){
  $onLayout(this, container, target);
}

function renderComponent_0(c, index, target){
  c.rendered?$insertChild(target, c.el.dom_0, index):$render(c, target.dom_0, index);
  this.renderHidden && c != this.activeItem && c.hide();
  if (!!dynamicCast($getData(c, 'layoutData'), 72) && false) {
    throwClassCastExceptionUnlessNull(dynamicCast($getData(c, 'layoutData'), 72));
    null.nullMethod();
  }
}

function FlowLayout(){
}

_ = FlowLayout.prototype = new Layout;
_.getClass$ = getClass_232;
_.onLayout = onLayout_3;
_.renderComponent = renderComponent_0;
_.typeId$ = 0;
function getClass_233(){
  return Lcom_extjs_gxt_ui_client_widget_layout_FormData_2_classLit;
}

function FormData(){
}

_ = FormData.prototype = new AnchorData;
_.getClass$ = getClass_233;
_.typeId$ = 180;
_.height = 0;
_.width = 0;
function $FormLayout(this$static){
  this$static.componentListener = $Layout$1(new Layout$1, this$static);
  this$static.monitorResize = true;
  this$static.labelAlign = ($clinit_237() , LEFT_2);
  return this$static;
}

function $findItemElement(this$static, c){
  var elem;
  if (!!c && c != null && canCast(c.typeId$, 92) && c.rendered) {
    elem = $selectNode(this$static.target_0, '#x-form-el-' + $getId_0(c));
    if (elem) {
      return $findParent(elem, '.x-form-item', 5);
    }
    return null;
  }
  return null;
}

--></script>
<script><!--
function $renderField(this$static, field, index, target){
  var inputId, ls, p;
  ls = field.labelSeparator != null?field.labelSeparator:this$static.labelSeparator;
  field.labelSeparator = ls;
  p = new Params;
  this$static.hideLabels && (field.hideLabel = true);
  $add_4(p, $getId_0(field));
  $add_4(p, field.fieldLabel);
  $add_4(p, this$static.labelStyle);
  $add_4(p, this$static.elementStyle);
  !p.values && (p.values = $ArrayList(new ArrayList));
  $add_13(p.values, ls);
  $add_4(p, field.hideLabel?'x-hide-label':'');
  !p.values && (p.values = $ArrayList(new ArrayList));
  $add_13(p.values, 'x-form-clear-left');
  !p.values && (p.values = $ArrayList(new ArrayList));
  $add_13(p.values, '');
  inputId = $getId_0(field);
  !p.values && (p.values = $ArrayList(new ArrayList));
  $add_13(p.values, inputId);
  $insert_0(this$static.fieldTemplate, target.dom_0, index, p);
  field.rendered?$appendChild($selectNode(target, '#x-form-el-' + $getId_0(field)), $getElement_0(field)):$render(field, $selectNode(target, '#x-form-el-' + $getId_0(field)).dom_0, -1);
  if ($getPropertyString($getElement_0(field), 'className').indexOf('-wrap') != -1) {
    inputId += '-input';
    $selectNode(target, '#x-form-el-' + $getId_0(field)).dom_0.previousSibling.setAttribute('for', inputId);
  }
}

function $setLabelAlign(this$static, labelAlign){
  if (this$static.labelAlign != labelAlign) {
    !!this$static.labelAlign && !!this$static.target_0 && $removeStyleName_1(this$static.target_0, 'x-form-label-' + this$static.labelAlign.name_0.toLowerCase());
    this$static.labelAlign = labelAlign;
    !!labelAlign && !!this$static.target_0 && $addStyleName(this$static.target_0, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-form-label-' + labelAlign.name_0.toLowerCase()]));
  }
}

function getClass_234(){
  return Lcom_extjs_gxt_ui_client_widget_layout_FormLayout_2_classLit;
}

function initTarget_0(){
  $initTarget(this);
  !!this.labelAlign && !!this.target_0 && $addStyleName(this.target_0, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-form-label-' + this.labelAlign.name_0.toLowerCase()]));
}

function onComponentHide_1(component){
  var e;
  e = $findItemElement(this, component);
  !!e && $addStyleName(e, initValues(_3Ljava_lang_String_2_classLit, 340, 1, [component.hideMode.value]));
}

function onComponentShow_1(component){
  var e;
  e = $findItemElement(this, component);
  !!e && $removeStyleName_1(e, component.hideMode.value);
}

function onLayout_4(container, target){
  var sb, t;
  if (this.hideLabels) {
    this.labelStyle = 'display:none';
    this.elementStyle = 'padding-left:0;';
  }
   else {
    this.labelStyle = 'width:' + this.labelWidth + 'px';
    this.elementStyle = 'padding-left:' + (this.labelWidth + 5) + 'px';
    if (this.labelAlign == ($clinit_237() , TOP_1)) {
      this.labelStyle = 'width:auto;';
      this.elementStyle = 'padding-left:0;';
    }
  }
  if (!this.fieldTemplate) {
    sb = $StringBuffer(new StringBuffer);
    sb.impl.string += "<div class='x-form-item {5}' tabIndex='-1'>";
    sb.impl.string += "<label for={8} style='{2};{7}' class=x-form-item-label>{1}{4}<\/label>";
    sb.impl.string += "<div class='x-form-element' id='x-form-el-{0}' style='{3}'>";
    sb.impl.string += "<\/div><div class='{6}'><\/div>";
    sb.impl.string += '<\/div>';
    this.fieldTemplate = $Template(new Template, sb.impl.string);
    t = this.fieldTemplate.t;
    t.compile();
  }
  $onLayout_0(this, container, target);
}

function onRemove_1(component){
  var elem;
  $onRemove_0(this, component);
  elem = $findItemElement(this, component);
  !!elem && $removeFromParent(elem);
}

function renderComponent_1(component, index, target){
  var d, f_0, layoutData;
  if (component != null && canCast(component.typeId$, 92)) {
    f_0 = dynamicCast(component, 92);
    layoutData = null;
    d = dynamicCast($getData(f_0, 'layoutData'), 72);
    !!d && d != null && canCast(d.typeId$, 93)?(layoutData = dynamicCast(d, 93)):(layoutData = dynamicCast($getData(f_0, 'formData'), 93));
    !layoutData && (layoutData = new FormData);
    if (layoutData) {
      layoutData.width > 0?$setSize_1(f_0, layoutData.width, -1):$setSize_1(f_0, this.defaultWidth, -1);
      layoutData.height > 0 && $setSize_1(f_0, -1, layoutData.height);
    }
     else {
      $setSize_1(f_0, this.defaultWidth, -1);
    }
    $renderField(this, f_0, index, target);
  }
   else {
    component.rendered?$insertChild(target, component.el.dom_0, index):$render(component, target.dom_0, index);
    this.renderHidden && component != this.activeItem && component.hide();
  }
}

function setContainer_1(ct){
  !!this.labelAlign && !!this.target_0 && $removeStyleName_1(this.target_0, 'x-form-label-' + this.labelAlign.name_0.toLowerCase());
  $setContainer(this, ct);
}

function FormLayout(){
}

_ = FormLayout.prototype = new AnchorLayout;
_.getClass$ = getClass_234;
_.initTarget = initTarget_0;
_.onComponentHide = onComponentHide_1;
_.onComponentShow = onComponentShow_1;
_.onLayout = onLayout_4;
_.onRemove = onRemove_1;
_.renderComponent = renderComponent_1;
_.setContainer = setContainer_1;
_.typeId$ = 0;
_.defaultWidth = 200;
_.elementStyle = null;
_.fieldTemplate = null;
_.hideLabels = false;
_.labelSeparator = ':';
_.labelStyle = null;
_.labelWidth = 100;
function $MenuLayout(this$static){
  this$static.componentListener = $Layout$1(new Layout$1, this$static);
  return this$static;
}

function $cleanup(target){
  var cn, i;
  cn = target.dom_0.childNodes;
  for (i = cn.length - 1; i >= 0; --i) {
    !cn[i].hasChildNodes() && target.dom_0.removeChild(cn[i]);
  }
}

function getClass_235(){
  return Lcom_extjs_gxt_ui_client_widget_layout_MenuLayout_2_classLit;
}

function onComponentHide_2(component){
  component.rendered && $addStyleName($getParent(component.el), initValues(_3Ljava_lang_String_2_classLit, 340, 1, [component.hideMode.value]));
}

function onComponentShow_2(component){
  component.rendered && $removeStyleName_1($getParent(component.el), component.hideMode.value);
}

function onLayout_5(container, target){
  $onLayout(this, container, target);
  $cleanup(target);
}

function renderComponent_2(c, index, target){
  var div, needsIndent;
  if (!!c && (!c.rendered || !$isValidParent(c.getElement(), target.dom_0))) {
    div = ($clinit_308() , $doc).createElement('div');
    div.id = 'x-menu-el-' + $getId_0(c);
    div.className = 'x-menu-list-item';
    $clinit_0();
    ariaEnabled && (div.setAttribute('role', 'presentation') , undefined);
    $insertChild_0(target.dom_0, div, index);
    needsIndent = c != null && canCast(c.typeId$, 92) || c != null && canCast(c.typeId$, 61);
    if (c.rendered) {
      $insertInto(c.el, div);
      c.disabled && c.disable();
    }
     else {
      $render(c, div, -1);
    }
    $setStyleName_0(($clinit_19() , fly_1(div, '_global')), 'x-menu-list-item-indent', needsIndent);
  }
}

function MenuLayout(){
}

_ = MenuLayout.prototype = new Layout;
_.getClass$ = getClass_235;
_.onComponentHide = onComponentHide_2;
_.onComponentShow = onComponentShow_2;
_.onLayout = onLayout_5;
_.renderComponent = renderComponent_2;
_.typeId$ = 0;
function getClass_236(){
  return Lcom_extjs_gxt_ui_client_widget_layout_TableData_2_classLit;
}

function TableData(){
}

_ = TableData.prototype = new LayoutData;
_.getClass$ = getClass_236;
_.typeId$ = 181;
_.padding = 0;
_.width = null;
function $getNextNonSpan(this$static, colIndex, rowIndex){
  $setupList(this$static, rowIndex);
  while (colIndex >= 1 || $get_9(this$static.cells_0, rowIndex) != null && dynamicCast(dynamicCast($get_9(this$static.cells_0, rowIndex), 42).get_1(colIndex), 3).value) {
    if (colIndex >= 1) {
      ++rowIndex;
      $setupList(this$static, rowIndex);
      colIndex = 0;
    }
     else {
      ++colIndex;
    }
  }
  return initValues(_3I_classLit, 328, -1, [colIndex, rowIndex]);
}

function $getRow(this$static, index){
  var row;
  row = $getChild_0(this$static.tbody, index);
  if (!row) {
    row = ($clinit_308() , $doc).createElement('tr');
    this$static.tbody.appendChild(row);
  }
  return $El(new El, row);
}

function $setCellSpacing(this$static, spacing){
  this$static.cellSpacing_0 = spacing;
  !!this$static.table && (this$static.table.cellSpacing = spacing , undefined);
}

function $setupList(this$static, rowIndex){
  var i, j, l;
  for (i = this$static.cells_0.size; i <= rowIndex; ++i) {
    l = $ArrayList(new ArrayList);
    for (j = 0; j < 1; ++j) {
      $add_13(l, ($clinit_484() , $clinit_484() , FALSE_0));
    }
    $add_13(this$static.cells_0, l);
  }
}

function getClass_237(){
  return Lcom_extjs_gxt_ui_client_widget_layout_TableLayout_2_classLit;
}

function getNextCell(widget){
  var cell, colIndex, curCol, curRow, data, rowIndex, td;
  !this.cells_0 && (this.cells_0 = $ArrayList(new ArrayList));
  data = dynamicCast(dynamicCast($getData(widget, 'layoutData'), 72), 94);
  if (!data) {
    data = new TableData;
    setLayoutData(widget, data);
  }
  td = ($clinit_308() , $doc).createElement('td');
  td.className = 'x-table-layout-cell';
  cell = $getNextNonSpan(this, this.currentColumn, this.currentRow);
  curCol = this.currentColumn = cell[0];
  curRow = this.currentRow = cell[1];
  for (rowIndex = curRow; rowIndex < curRow + 1; ++rowIndex) {
    $setupList(this, rowIndex);
    for (colIndex = curCol; colIndex < curCol + 1; ++colIndex) {
      dynamicCast($get_9(this.cells_0, rowIndex), 42).set(colIndex, ($clinit_484() , $clinit_484() , TRUE_0));
    }
  }
  data.padding > 0?(td.style['padding'] = data.padding + ($clinit_318() , 'px') , undefined):this.cellPadding_0 > 0 && (td.style['padding'] = this.cellPadding_0 + ($clinit_318() , 'px') , undefined);
  !!this.cellHorizontalAlign && (td.align = this.cellHorizontalAlign.name_0 , undefined);
  !!this.cellVerticalAlign && (td.vAlign = this.cellVerticalAlign.name_0 , undefined);
  data.width != null && (td.setAttribute('width', data.width) , undefined);
  $getRow(this, curRow).dom_0.appendChild(td);
  return td;
}

function isValidParent_0(elem, parent_0){
  return false;
}

function onLayout_6(container, target){
  this.currentColumn = 0;
  this.currentRow = 0;
  this.cells_0 = null;
  $removeChildren(target);
  this.table = ($clinit_308() , $doc).createElement('table');
  container.ariaIgnore && (this.table.setAttribute('role', 'presentation') , undefined);
  this.cellSpacing_0 != -1 && (this.table.cellSpacing = this.cellSpacing_0 , undefined);
  this.tbody = $doc.createElement('tbody');
  this.table.appendChild(this.tbody);
  target.dom_0.appendChild(this.table);
  $renderAll_0(this, container, target);
}

function renderComponent_3(component, index, target){
  var data, td;
  td = this.getNextCell(component);
  component.rendered?td.appendChild(component.getElement()):$render(component, td, -1);
  this.renderHidden && component != this.activeItem && component.hide();
  data = dynamicCast($getData(component, 'layoutData'), 72);
  !!data && data != null && canCast(data.typeId$, 73) && dynamicCast(data, 73);
}

function TableLayout(){
}

_ = TableLayout.prototype = new Layout;
_.getClass$ = getClass_237;
_.getNextCell = getNextCell;
_.isValidParent = isValidParent_0;
_.onLayout = onLayout_6;
_.renderComponent = renderComponent_3;
_.typeId$ = 0;
_.cellHorizontalAlign = null;
_.cellPadding_0 = 0;
_.cellSpacing_0 = 0;
_.cellVerticalAlign = null;
_.cells_0 = null;
_.currentColumn = 0;
_.currentRow = 0;
_.insertSpacer = false;
_.table = null;
_.tbody = null;
function $TableRowLayout(this$static){
  this$static.componentListener = $Layout$1(new Layout$1, this$static);
  return this$static;
}

function $getNextCell(this$static, component){
  var data, td;
  data = dynamicCast(dynamicCast($getData(component, 'layoutData'), 72), 94);
  if (!data) {
    data = new TableData;
    setLayoutData(component, data);
  }
  $getData(component, 'width') != null && (data.width = dynamicCast($getData(component, 'width'), 1) , undefined);
  td = $El(new El, ($clinit_308() , $doc).createElement('td'));
  !!this$static.cellHorizontalAlign && (td.dom_0['align'] = this$static.cellHorizontalAlign.name_0 , undefined);
  !!this$static.cellVerticalAlign && (td.dom_0['vAlign'] = this$static.cellVerticalAlign.name_0 , undefined);
  data.padding > 0?(td.dom_0.style['padding'] = data.padding + ($clinit_318() , 'px') , undefined):this$static.cellPadding_0 > 0 && (td.dom_0.style['padding'] = this$static.cellPadding_0 + ($clinit_318() , 'px') , undefined);
  data.width != null && (td.dom_0['width'] = data.width , undefined);
  this$static.row.appendChild(td.dom_0);
  return td.dom_0;
}

function getClass_238(){
  return Lcom_extjs_gxt_ui_client_widget_layout_TableRowLayout_2_classLit;
}

function getNextCell_0(component){
  return $getNextCell(this, component);
}

function onLayout_7(container, target){
  var td;
  this.currentColumn = 0;
  this.currentRow = 0;
  $removeChildren(target);
  this.table = ($clinit_308() , $doc).createElement('table');
  container.ariaIgnore && (this.table.setAttribute('role', 'presentation') , undefined);
  this.cellPadding_0 != -1 && (this.table.cellPadding = this.cellPadding_0 , undefined);
  this.cellSpacing_0 != -1 && (this.table.cellSpacing = this.cellSpacing_0 , undefined);
  this.tbody = $doc.createElement('tbody');
  this.table.appendChild(this.tbody);
  this.row = $doc.createElement('tr');
  this.tbody.appendChild(this.row);
  if (this.insertSpacer) {
    td = $doc.createElement('td');
    ($clinit_19() , fly_1(td, '_global')).setWidth_0('100%');
    this.row.appendChild(td);
  }
  target.dom_0.appendChild(this.table);
  $renderAll_0(this, container, target);
}

function renderComponent_4(c, index, target){
  c.rendered?$getNextCell(this, c).appendChild(c.getElement()):$render(c, $getNextCell(this, c), -1);
}

function TableRowLayout(){
}

_ = TableRowLayout.prototype = new TableLayout;
_.getClass$ = getClass_238;
_.getNextCell = getNextCell_0;
_.onLayout = onLayout_7;
_.renderComponent = renderComponent_4;
_.typeId$ = 0;
_.row = null;
function $ToolBarLayout(this$static){
  this$static.componentListener = $Layout$1(new Layout$1, this$static);
  this$static.monitorResize = true;
  this$static.hiddens = $ArrayList(new ArrayList);
  this$static.targetStyleName = 'x-toolbar-layout-ct';
  return this$static;
}

function $addComponentToMenu(menu, c){
  var b, item;
  if (c != null && canCast(c.typeId$, 95)) {
    b = dynamicCast(c, 95);
    item = $MenuItem_1(new MenuItem, b.text, b.icon);
    $setItemId(item, c.itemId != null?c.itemId:$getId_0(c));
    if (b.menu) {
      item.hideOnClick = false;
      $setSubMenu(item, b.menu);
    }
    $setEnabled_1(item, !c.disabled);
    $addListener(item.observable, ($clinit_56() , Select), $ToolBarLayout$2(new ToolBarLayout$2, b));
    $insert_5(menu, item, menu.items.size);
  }
}

function $cleanup_0(row){
  var cn, i, td;
  cn = row.dom_0.childNodes;
  for (i = cn.length - 1; i >= 0; --i) {
    td = cn[i];
    !td.hasChildNodes() && row.dom_0.removeChild(td);
  }
}

function $fitToSize(this$static, t){
  var c, c$iterator, clipWidth, iw, loopWidth, lw, w, w_0;
  dynamicCast(this$static.container, 96);
  if ((this$static.target_0.dom_0.offsetWidth || 0) < 1) {
    return;
  }
  w = (w_0 = t.dom_0.offsetWidth || 0 , w_0 -= $getFrameWidth(t, 'lr') , w_0);
  lw = this$static.lastWidth;
  this$static.lastWidth = w;
  iw = $getWidth($firstChild(t), true);
  clipWidth = w - 18;
  if (iw > w || !!this$static.hiddens && this$static.hiddens.size > 0 && w >= lw) {
    loopWidth = 0;
    for (c$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.container.items); c$iterator.i < c$iterator.this$0_0.size_0();) {
      c = dynamicCast($next_4(c$iterator), 63);
      if (!(c != null && canCast(c.typeId$, 97))) {
        loopWidth += dynamicCast($getData(c, 'xtbWidth') != null?$getData(c, 'xtbWidth'):valueOf_0($getParent(c.el).dom_0.offsetWidth || 0), 33).value;
        loopWidth >= clipWidth?$indexOf_4(this$static.hiddens, c, 0) == -1 && ($setData(c, 'xtbWidth', valueOf_0($getParent(c.el).dom_0.offsetWidth || 0)) , $setData(c, 'xtbIsVisible', ($clinit_484() , $isVisible_1(c, false)?TRUE_0:FALSE_0)) , $add_13(this$static.hiddens, c) , c.hide() , undefined):$indexOf_4(this$static.hiddens, c, 0) != -1 && $unhideComponent(this$static, c);
      }
    }
  }
  if (!!this$static.hiddens && this$static.hiddens.size > 0) {
    $initMore(this$static);
    !this$static.lastOverflow && (this$static.lastOverflow = true);
  }
   else if (this$static.more) {
    doDetach(this$static.more);
    $removeFromParent(this$static.more.el);
    this$static.lastOverflow && (this$static.lastOverflow = false);
  }
}

function $initMore(this$static){
  var td;
  if (!this$static.more) {
    this$static.moreMenu = $Menu(new Menu);
    $addListener(this$static.moreMenu.observable, ($clinit_56() , BeforeShow), $ToolBarLayout$3(new ToolBarLayout$3, this$static));
    this$static.more = $Button(new Button);
    $addStyleName_0(this$static.more, 'x-toolbar-more');
    $setIcon_1(this$static.more, ($clinit_0() , $clinit_103() , toolbar_more_SINGLETON));
    $setMenu(this$static.more, this$static.moreMenu);
  }
  td = $insertCell(this$static.extrasTr, 100);
  this$static.more.rendered?td.appendChild(this$static.more.el.dom_0):$render(this$static.more, td, -1);
  doAttach(this$static.more);
}

function $insertCell(side, pos){
  var point, td, child, child_0;
  td = ($clinit_308() , $doc).createElement('td');
  td.className = 'x-toolbar-cell';
  pos >= side.dom_0.childNodes.length?(point = null):(point = (child = $getChild_0(side.dom_0, pos) , !child?null:$El(new El, child))?(child_0 = $getChild_0(side.dom_0, pos) , !child_0?null:$El(new El, child_0)).dom_0:null);
  side.dom_0.insertBefore(td, point);
  return td;
}

function $unhideComponent(this$static, c){
  if ($remove_20(this$static.hiddens, c)) {
    dynamicCast($getData(c, 'xtbIsVisible'), 3).value && c.show();
    !c.dataMap && (c.dataMap = $FastMap(new FastMap));
    $put_1(c.dataMap.map, dynamicCast('xtbWidth', 1), null);
    !c.dataMap && (c.dataMap = $FastMap(new FastMap));
    $put_1(c.dataMap.map, dynamicCast('xtbIsVisible', 1), null);
  }
}

function getClass_239(){
  return Lcom_extjs_gxt_ui_client_widget_layout_ToolBarLayout_2_classLit;
}

function onComponentHide_3(component){
  component.rendered && $addStyleName($getParent(component.el), initValues(_3Ljava_lang_String_2_classLit, 340, 1, [component.hideMode.value]));
}

function onComponentShow_3(component){
  component.rendered && $removeStyleName_1($getParent(component.el), component.hideMode.value);
}

function onLayout_8(container, target){
  var c, i, len, pos, side, td;
  if (!this.leftTr) {
    $El(new El, ($clinit_17() , $wnd.GXT.Ext.DomHelper.insertHtml('beforeEnd', target.dom_0, '<table cellspacing="0" class="x-toolbar-ct" role="presentation"><tbody><tr><td class="x-toolbar-left" align="left"><table cellspacing="0" role="presentation"><tbody><tr class="x-toolbar-left-row"><\/tr><\/tbody><\/table><\/td><td class="x-toolbar-right" align="right"><table cellspacing="0" class="x-toolbar-right-ct"><tbody><tr><td><table cellspacing="0"><tbody><tr class="x-toolbar-right-row"><\/tr><\/tbody><\/table><\/td><td><table cellspacing="0"><tbody><tr class="x-toolbar-extras-row"><\/tr><\/tbody><\/table><\/td><\/tr><\/tbody><\/td><\/tr><\/tbody><\/table>')));
    this.leftTr = $child(target, 'tr.x-toolbar-left-row');
    this.rightTr = $child(target, 'tr.x-toolbar-right-row');
    this.extrasTr = $child(target, 'tr.x-toolbar-extras-row');
  }
  side = this.leftTr;
  pos = 0;
  for (i = 0 , len = container.items.size; i < len; ++i , ++pos) {
    c = i < container.items.size?dynamicCast($get_9(container.items, i), 63):null;
    if (c != null && canCast(c.typeId$, 97)) {
      side = this.rightTr;
      pos = -1;
    }
     else if (c.rendered) {
      if ($indexOf_4(this.hiddens, c, 0) == -1 && !$isValidParent(c.el.dom_0, $getChild_0(side.dom_0, pos))) {
        td = $insertCell(side, pos);
        td.appendChild(c.el.dom_0);
        i < len - 1?$setStyleAttribute(c.el, 'marginRight', this.spacing + 'px'):$setStyleAttribute(c.el, 'marginRight', '0px');
      }
    }
     else {
      $render(c, $insertCell(side, pos), -1);
      i < len - 1?$setStyleAttribute(c.el, 'marginRight', this.spacing + 'px'):$setStyleAttribute(c.el, 'marginRight', '0px');
    }
  }
  $cleanup_0(this.leftTr);
  $cleanup_0(this.rightTr);
  $cleanup_0(this.extrasTr);
  $fitToSize(this, target);
}

function ToolBarLayout(){
}

_ = ToolBarLayout.prototype = new Layout;
_.getClass$ = getClass_239;
_.onComponentHide = onComponentHide_3;
_.onComponentShow = onComponentShow_3;
_.onLayout = onLayout_8;
_.typeId$ = 182;
_.extrasTr = null;
_.hiddens = null;
_.lastOverflow = false;
_.lastWidth = 0;
_.leftTr = null;
_.more = null;
_.moreMenu = null;
_.rightTr = null;
_.spacing = 0;
function $ToolBarLayout$2(this$static, val$b){
  this$static.val$b = val$b;
  return this$static;
}

function $componentSelected_7(this$static, ce){
  var e;
  e = $ButtonEvent(new ButtonEvent, this$static.val$b);
  $setEvent(e, ce.event_0);
  $fireEvent_2(this$static.val$b, ($clinit_56() , Select), e);
}

function componentSelected_7(p0){
  $componentSelected_7(this, dynamicCast(p0, 79));
}

function getClass_240(){
  return Lcom_extjs_gxt_ui_client_widget_layout_ToolBarLayout$2_2_classLit;
}

function ToolBarLayout$2(){
}

_ = ToolBarLayout$2.prototype = new SelectionListener;
_.componentSelected = componentSelected_7;
_.getClass$ = getClass_240;
_.typeId$ = 183;
_.val$b = null;
function $ToolBarLayout$3(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $handleEvent_31(this$static, be){
  var c, c$iterator;
  $removeAll(this$static.this$0.moreMenu, false);
  for (c$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.this$0.container.items); c$iterator.i < c$iterator.this$0_0.size_0();) {
    c = dynamicCast($next_4(c$iterator), 63);
    $indexOf_4(this$static.this$0.hiddens, c, 0) != -1 && $addComponentToMenu(dynamicCast(be.container, 98), c);
  }
  dynamicCast(be.container, 98).items.size == 0 && $add_5(dynamicCast(be.container, 98), $HeaderMenuItem_0(new HeaderMenuItem, '<div class="x-toolbar-no-items">(None)<\/div>'));
}

function getClass_241(){
  return Lcom_extjs_gxt_ui_client_widget_layout_ToolBarLayout$3_2_classLit;
}

function handleEvent_33(p0){
  $handleEvent_31(this, dynamicCast(p0, 79));
}

function ToolBarLayout$3(){
}

_ = ToolBarLayout$3.prototype = new Object_0;
_.getClass$ = getClass_241;
_.handleEvent = handleEvent_33;
_.typeId$ = 184;
_.this$0 = null;
function $clinit_268(){
  $clinit_268 = nullMethod;
  $clinit_140();
}

function $Menu(this$static){
  $clinit_268();
  $Container(this$static);
  this$static.baseStyle = 'x-menu';
  this$static.shim = true;
  this$static.monitorWindowResize = true;
  this$static.shadow = true;
  this$static.layoutOnChange = true;
  this$static.enableLayout = true;
  $setLayout(this$static, $MenuLayout(new MenuLayout));
  this$static.eventPreview = $Menu$1(new Menu$1, this$static);
  return this$static;
}

function $constrainScroll(this$static, y){
  var full, i, max, nodes;
  full = this$static.ul.setHeight_0('auto').dom_0.offsetHeight || 0;
  max = ($clinit_34() , getViewportHeight()) - y;
  if (full > max && max > 0) {
    this$static.activeMax = max - 10 - 16;
    this$static.ul.setHeight(this$static.activeMax, true);
    $createScrollers(this$static);
  }
   else {
    this$static.ul.setHeight(full, true);
    nodes = ($clinit_18() , $clinit_18() , $wnd.GXT.Ext.DomQuery.select('.x-menu-scroller', this$static.el.dom_0));
    for (i = 0; i < nodes.length; ++i) {
      fly_1(nodes[i], 'component').setVisible(false);
    }
  }
  $setScrollTop(this$static.ul, 0);
}

function $createScrollers(this$static){
  var cr, listener, scroller;
  if (($clinit_18() , $clinit_18() , $wnd.GXT.Ext.DomQuery.select('.x-menu-scroller', this$static.el.dom_0)).length == 0) {
    listener = $Menu$2(new Menu$2, this$static);
    scroller = $El(new El, ($clinit_308() , $doc).createElement('div'));
    $addStyleName(scroller, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-menu-scroller', 'x-menu-scroller-top']));
    scroller.dom_0.innerHTML = '&nbsp;';
    cr = $ClickRepeater(new ClickRepeater, scroller);
    $doAttach(cr);
    $addListener(cr, ($clinit_56() , OnClick), listener);
    !this$static.attachables && (this$static.attachables = $ArrayList(new ArrayList));
    $add_13(this$static.attachables, cr);
    $insertFirst(this$static.el, scroller.dom_0);
    scroller = $El(new El, $doc.createElement('div'));
    $addStyleName(scroller, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-menu-scroller', 'x-menu-scroller-bottom']));
    scroller.dom_0.innerHTML = '&nbsp;';
    cr = $ClickRepeater(new ClickRepeater, scroller);
    $doAttach(cr);
    $addListener(cr, OnClick, listener);
    !this$static.attachables && (this$static.attachables = $ArrayList(new ArrayList));
    $add_13(this$static.attachables, cr);
    $appendChild(this$static.el, scroller.dom_0);
  }
}

function $deactiveActiveItem(this$static){
  if (this$static.activeItem) {
    this$static.activeItem.deactivate();
    this$static.activeItem = null;
  }
  $clinit_0();
  if (ariaEnabled) {
    $unframe(get());
    $getElement_0(this$static).setAttribute('aria-activedescendant', '');
  }
}

function $doAutoSize(this$static){
  var width;
  if (this$static.showing && this$static.width == null) {
    width = (this$static.ul.dom_0.offsetWidth || 0) + $getFrameWidth(this$static.el, 'lr');
    this$static.el.setWidth(width > 120?width:120, true);
  }
}

function $hide_6(this$static, deep){
  var me;
  if (this$static.showing) {
    me = $MenuEvent(new MenuEvent, this$static);
    if ($fireEvent_2(this$static, ($clinit_56() , BeforeHide), me)) {
      if (this$static.activeItem) {
        this$static.activeItem.deactivate();
        this$static.activeItem = null;
      }
      $onHide(this$static);
      !!this$static.layer && $hideUnders_0(this$static.layer);
      $deactiveActiveItem(this$static);
      $remove_12(($clinit_465() , get_8(null)), this$static);
      $remove_5(this$static.eventPreview);
      this$static.showing = false;
      this$static.hidden = true;
      $fireEvent_2(this$static, Hide, me);
    }
    deep && !!this$static.parentItem && $hide_6(this$static.parentItem.parentMenu, true);
  }
  return this$static;
}

function $insert_5(this$static, item, index){
  item != null && canCast(item.typeId$, 99) && (dynamicCast(item, 99).parentMenu = this$static);
  return $insert_1(this$static, item, index);
}

function $onAutoHide(this$static, pe){
  var me;
  if ((!pe.event_0?-1:$eventGetTypeInt(($clinit_308() , pe.event_0).type)) == 4 && !($within(pe, $getElement_0(this$static), false) || !!$findParent(fly_1(!pe.event_0?null:($clinit_308() , pe.event_0).target, 'component'), '.x-ignore', -1))) {
    me = $MenuEvent(new MenuEvent, this$static);
    $setEvent(me, pe.event_0);
    if ($fireEvent_2(this$static, ($clinit_56() , AutoHide), me)) {
      $hide_6(this$static, true);
      return true;
    }
  }
  return false;
}

function $onKeyDown_0(this$static, ce){
  !!ce.event_0 && (ce.event_0.cancelBubble = true , undefined);
  $preventDefault(ce);
  !$tryActivate(this$static, $indexOf_4(this$static.items, this$static.activeItem, 0) + 1, 1) && $tryActivate(this$static, 0, 1);
}

function $onKeyUp_0(this$static, ce){
  !!ce.event_0 && (ce.event_0.cancelBubble = true , undefined);
  $preventDefault(ce);
  !$tryActivate(this$static, $indexOf_4(this$static.items, this$static.activeItem, 0) - 1, -1) && $tryActivate(this$static, this$static.items.size - 1, -1);
}

function $onMouseOver_0(this$static, ce){
  var c, item;
  c = $findItem(this$static, !ce.event_0?null:($clinit_308() , ce.event_0).target);
  if (!!c && c != null && canCast(c.typeId$, 99)) {
    item = dynamicCast(c, 99);
    item.canActivate && !item.disabled && $setActiveItem(this$static, item, true);
  }
  !c && !!this$static.activeItem && this$static.activeItem.shouldDeactivate(ce) && $deactiveActiveItem(this$static);
}

function $onScroll(this$static, ce){
  var target, top_0;
  target = ce.el;
  top_0 = ($clinit_18() , $wnd.GXT.Ext.DomQuery.is(target.dom_0, '.x-menu-scroller-top'));
  $setScrollTop(this$static.ul, (parseInt(this$static.ul.dom_0['scrollTop']) || 0) + 24 * (top_0?-1:1));
  (top_0?(parseInt(this$static.ul.dom_0['scrollTop']) || 0) <= 0:(parseInt(this$static.ul.dom_0['scrollTop']) || 0) + this$static.activeMax >= (parseInt(this$static.ul.dom_0['scrollHeight']) || 0)) && $removeStyleName_0(target, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-menu-item-active', 'x-menu-scroller-active']));
}

function $scrollMenu(this$static, top_0){
  $setScrollTop(this$static.ul, (parseInt(this$static.ul.dom_0['scrollTop']) || 0) + 24 * (top_0?-1:1));
}

function $setActiveItem(this$static, c, autoExpand){
  var item;
  if (c != null && canCast(c.typeId$, 99)) {
    item = dynamicCast(c, 99);
    if (item != this$static.activeItem) {
      $deactiveActiveItem(this$static);
      this$static.activeItem = item;
      item.activate(autoExpand);
      $scrollIntoView(item.el, this$static.ul.dom_0, false, null);
      $focus(this$static);
      $clinit_0();
      if (ariaEnabled) {
        $frame(get(), item);
        $getElement_0(this$static).setAttribute('aria-activedescendant', $getId_0(item));
      }
    }
     else 
      autoExpand && item.expandMenu(autoExpand);
  }
}

--></script>
<script><!--
function $show_4(this$static, elem, pos, offsets){
  var me;
  me = $MenuEvent(new MenuEvent, this$static);
  if ($fireEvent_2(this$static, ($clinit_56() , BeforeShow), me)) {
    $add_10(($clinit_465() , get_8(null)), this$static);
    this$static.showing = true;
    $makePositionable(this$static.el, true);
    $onShow(this$static);
    !!this$static.layer && $sync_1(this$static.layer, true);
    $updateZIndex(this$static.el, 0);
    $doAutoSize(this$static);
    $alignTo(this$static.el, elem, pos, offsets);
    this$static.enableScrolling && $constrainScroll(this$static, $getAbsoluteTop(($clinit_308() , this$static.el.dom_0)));
    this$static.el.setVisible(true);
    $add_1(this$static.eventPreview);
    this$static.focusOnShow && $focus(this$static);
    $fireEvent_2(this$static, Show, me);
  }
}

function $tryActivate(this$static, start, step){
  var c, i, item, len;
  for (i = start , len = this$static.items.size; i >= 0 && i < len; i += step) {
    c = i < this$static.items.size?dynamicCast($get_9(this$static.items, i), 63):null;
    if (c != null && canCast(c.typeId$, 99)) {
      item = dynamicCast(c, 99);
      if (item.canActivate && !item.disabled) {
        $setActiveItem(this$static, item, false);
        return item;
      }
    }
  }
  return null;
}

function createComponentEvent_8(event_0){
  return $MenuEvent(new MenuEvent, this);
}

function createContainerEvent_2(item){
  return $MenuEvent_0(new MenuEvent, this, item);
}

function getClass_242(){
  return Lcom_extjs_gxt_ui_client_widget_menu_Menu_2_classLit;
}

function getLayoutTarget_4(){
  return this.ul;
}

function hide_3(){
  $hide_6(this, false);
}

function insert_1(item, index){
  return item != null && canCast(item.typeId$, 99) && (dynamicCast(item, 99).parentMenu = this) , $insert_1(this, item, index);
}

function isVisible_2(){
  return this.showing;
}

function onComponentEvent_11(ce){
  var t, item, item_0, top_0;
  switch (!ce.event_0?-1:$eventGetTypeInt(($clinit_308() , ce.event_0).type)) {
    case 1:
      item = $findItem(this, !ce.event_0?null:($clinit_308() , ce.event_0).target);
      !!item && item != null && canCast(item.typeId$, 99) && $onClick_6(dynamicCast(item, 99), ce);
      break;
    case 16:
      $onMouseOver_0(this, ce);
      break;
    case 32:
      item_0 = $findItem(this, !ce.event_0?null:($clinit_308() , ce.event_0).target);
      item_0?item_0 == this.activeItem && !$within(ce, $getElement_0(this), false) && this.activeItem.shouldDeactivate(ce) && $deactiveActiveItem(this):!!this.activeItem && this.activeItem.shouldDeactivate(ce) && $deactiveActiveItem(this);
      break;
    case 131072:
      this.enableScrolling && $scrollMenu(this, (($clinit_308() , ce.event_0).detail || 0) < 0);
  }
  t = $getTargetEl(ce);
  if (this.enableScrolling && ($clinit_18() , $wnd.GXT.Ext.DomQuery.is(t.dom_0, '.x-menu-scroller'))) {
    switch (!ce.event_0?-1:$eventGetTypeInt(($clinit_308() , ce.event_0).type)) {
      case 16:
        $deactiveActiveItem(this);
        top_0 = ($clinit_18() , $wnd.GXT.Ext.DomQuery.is(t.dom_0, '.x-menu-scroller-top'));
        (top_0?(parseInt(this.ul.dom_0['scrollTop']) || 0) > 0:(parseInt(this.ul.dom_0['scrollTop']) || 0) + this.activeMax < (parseInt(this.ul.dom_0['scrollHeight']) || 0)) && $addStyleName(t, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-menu-item-active', 'x-menu-scroller-active']));
        break;
      case 32:
        $removeStyleName_0(t, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-menu-item-active', 'x-menu-scroller-active']));
    }
  }
}

function onDetach_8(){
  $onDetach_0(this);
  $onDetachHelper(this);
  !!this.eventPreview && $remove_5(this.eventPreview);
}

function onHide_3(){
  $onHide(this);
  !!this.layer && $hideUnders_0(this.layer);
  $deactiveActiveItem(this);
}

function onLayoutExcecuted_0(layout){
  $onLayoutExcecuted(this);
  $doAutoSize(this);
}

function onRender_26(target, index){
  $setElement_1(this, ($clinit_308() , $doc).createElement('div'), target, index);
  $makePositionable(this.el, true);
  $Menu$3(new Menu$3, this, this);
  this.ul = $El(new El, $doc.createElement('div'));
  $addStyleName(this.ul, initValues(_3Ljava_lang_String_2_classLit, 340, 1, [this.baseStyle + '-list']));
  $getElement_0(this).appendChild(this.ul.dom_0);
  $add(this.eventPreview.ignoreList, $getElement_0(this));
  this.el.dom_0['tabIndex'] = 0;
  $setElementAttribute(this.el, 'hideFocus', 'true');
  $addStyleName(this.el, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-ignore']));
  $clinit_0();
  if (ariaEnabled) {
    $getElement_0(this).setAttribute('role', 'menu');
    this.ul.dom_0.setAttribute('role', 'presentation');
  }
  this.plain && $addStyleName_0(this, 'x-menu-plain');
  !this.showSeparator && $addStyleName_0(this, 'x-menu-nosep');
  this.rendered?$sinkEvents(this, 132093):(this.events |= 132093);
}

function onWindowResize_3(width, height){
  $hide_6(this, true);
}

function remove_10(item){
  return $remove_7(this, item, false);
}

function Menu(){
}

_ = Menu.prototype = new Container;
_.createComponentEvent = createComponentEvent_8;
_.createContainerEvent = createContainerEvent_2;
_.getClass$ = getClass_242;
_.getLayoutTarget = getLayoutTarget_4;
_.hide = hide_3;
_.insert = insert_1;
_.isVisible = isVisible_2;
_.onComponentEvent = onComponentEvent_11;
_.onDetach = onDetach_8;
_.onHide = onHide_3;
_.onLayoutExcecuted = onLayoutExcecuted_0;
_.onRender = onRender_26;
_.onWindowResize = onWindowResize_3;
_.remove_3 = remove_10;
_.typeId$ = 185;
_.activeItem = null;
_.activeMax = 0;
_.enableScrolling = true;
_.eventPreview = null;
_.focusOnShow = true;
_.parentItem = null;
_.plain = false;
_.showSeparator = true;
_.showing = false;
_.ul = null;
function $clinit_269(){
  $clinit_269 = nullMethod;
  $clinit_268();
}

function $DateMenu(this$static){
  $clinit_269();
  $Menu(this$static);
  this$static.picker = $DatePicker(new DatePicker);
  $add_5(this$static, this$static.picker);
  $addStyleName_0(this$static, 'x-date-menu');
  this$static.autoHeight = true;
  this$static.plain = true;
  this$static.showSeparator = false;
  this$static.enableScrolling = false;
  return this$static;
}

function getClass_243(){
  return Lcom_extjs_gxt_ui_client_widget_menu_DateMenu_2_classLit;
}

function DateMenu(){
}

_ = DateMenu.prototype = new Menu;
_.getClass$ = getClass_243;
_.typeId$ = 186;
_.picker = null;
function $clinit_270(){
  $clinit_270 = nullMethod;
  $clinit_101();
}

function $activate(this$static){
  var li, me;
  if (this$static.disabled) {
    return;
  }
  li = $getParent(this$static.el);
  !!li && $addStyleName(li, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-menu-item-active']));
  me = $MenuEvent(new MenuEvent, this$static.parentMenu);
  me.item = this$static;
  $fireEvent_2(this$static, ($clinit_56() , Activate), me);
}

function $deactivate(this$static){
  var li, me;
  li = $getParent(this$static.el);
  !!li && $removeStyleName_1(li, 'x-menu-item-active');
  me = $MenuEvent(new MenuEvent, this$static.parentMenu);
  me.item = this$static;
  $fireEvent_2(this$static, ($clinit_56() , Deactivate), me);
}

function $onClick_6(this$static, be){
  var me;
  !!be.event_0 && (be.event_0.cancelBubble = true , undefined);
  $preventDefault(be);
  me = $MenuEvent(new MenuEvent, this$static.parentMenu);
  me.item = this$static;
  $setEvent(me, be.event_0);
  !this$static.disabled && $fireEvent_2(this$static, ($clinit_56() , Select), me) && (this$static.hideOnClick && !!this$static.parentMenu && $hide_6(this$static.parentMenu, true) , undefined);
}

function activate(autoExpand){
  $activate(this);
}

function deactivate(){
  $deactivate(this);
}

function expandMenu(autoActivate){
}

function getClass_244(){
  return Lcom_extjs_gxt_ui_client_widget_menu_Item_2_classLit;
}

function onDisable_6(){
  var li;
  $addStyleName_0(this, this.disabledStyle);
  li = $getParent(this.el);
  !!li && $addStyleName(li, initValues(_3Ljava_lang_String_2_classLit, 340, 1, [this.disabledStyle]));
}

function onEnable_6(){
  var li;
  $removeStyleName_2(this, this.disabledStyle);
  $clearOpacity(this.el);
  li = $getParent(this.el);
  !!li && $removeStyleName_1(li, this.disabledStyle);
}

function shouldDeactivate(ce){
  return true;
}

function Item(){
}

_ = Item.prototype = new Component;
_.activate = activate;
_.deactivate = deactivate;
_.expandMenu = expandMenu;
_.getClass$ = getClass_244;
_.onDisable = onDisable_6;
_.onEnable = onEnable_6;
_.shouldDeactivate = shouldDeactivate;
_.typeId$ = 187;
_.canActivate = false;
_.hideOnClick = true;
_.parentMenu = null;
function $clinit_271(){
  $clinit_271 = nullMethod;
  $clinit_270();
}

function $HeaderMenuItem_0(this$static, text){
  $clinit_271();
  $Component(this$static);
  this$static.disabledStyle = 'x-item-disabled';
  this$static.hideOnClick = false;
  this$static.text = text;
  return this$static;
}

function $setText_2(this$static, text){
  this$static.text = text;
  this$static.rendered && $update(this$static.el, text == null || $equals_4('', text)?'&#160;':text);
}

function getClass_245(){
  return Lcom_extjs_gxt_ui_client_widget_menu_HeaderMenuItem_2_classLit;
}

function onRender_27(target, index){
  var span;
  span = ($clinit_308() , $doc).createElement('span');
  span.className = 'x-menu-text';
  $setElement_0(this, span);
  $insertChild_0(target, span, index);
  $setText_2(this, this.text);
}

function HeaderMenuItem(){
}

_ = HeaderMenuItem.prototype = new Item;
_.getClass$ = getClass_245;
_.onRender = onRender_27;
_.typeId$ = 188;
_.text = null;
function $Menu$1(this$static, this$0){
  this$static.this$0 = this$0;
  this$static.ignoreList = $CompositeElement(new CompositeElement);
  return this$static;
}

function getClass_246(){
  return Lcom_extjs_gxt_ui_client_widget_menu_Menu$1_2_classLit;
}

function onAutoHide_4(pe){
  return $onAutoHide(this.this$0, pe);
}

function onPreviewKeyPress_1(pe){
  $fireEvent(this, ($clinit_56() , KeyPress), pe);
  (!pe.event_0?-1:$eventGetKeyCode(($clinit_308() , pe.event_0))) == 27 && $hide_6(this.this$0, true);
}

function Menu$1(){
}

_ = Menu$1.prototype = new BaseEventPreview;
_.getClass$ = getClass_246;
_.onAutoHide = onAutoHide_4;
_.onPreviewKeyPress = onPreviewKeyPress_1;
_.typeId$ = 189;
_.this$0 = null;
function $Menu$2(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function getClass_247(){
  return Lcom_extjs_gxt_ui_client_widget_menu_Menu$2_2_classLit;
}

function handleEvent_34(p0){
  $onScroll(this.this$0, dynamicCast(p0, 100));
}

function Menu$2(){
}

_ = Menu$2.prototype = new Object_0;
_.getClass$ = getClass_247;
_.handleEvent = handleEvent_34;
_.typeId$ = 190;
_.this$0 = null;
function $clinit_274(){
  $clinit_274 = nullMethod;
  $clinit_128();
}

function $Menu$3(this$static, $anonymous0, this$0){
  $clinit_274();
  this$static.this$0 = this$0;
  $bind(this$static, $anonymous0);
  return this$static;
}

function getClass_248(){
  return Lcom_extjs_gxt_ui_client_widget_menu_Menu$3_2_classLit;
}

function onDown_1(ce){
  $onKeyDown_0(this.this$0, ce);
}

function onEnter_0(be){
  if (this.this$0.activeItem) {
    !!be.event_0 && (be.event_0.cancelBubble = true , undefined);
    $onClick_6(this.this$0.activeItem, be);
  }
}

function onLeft_0(be){
  $hide_6(this.this$0, false);
  if (this.this$0.parentItem) {
    $focus(this.this$0.parentItem.parentMenu);
    $clinit_0();
    ariaEnabled && $frame(get(), this.this$0.parentItem);
  }
}

function onRight_0(be){
  !!this.this$0.activeItem && this.this$0.activeItem.expandMenu(true);
}

function onUp_0(ce){
  $onKeyUp_0(this.this$0, ce);
}

function Menu$3(){
}

_ = Menu$3.prototype = new KeyNav;
_.getClass$ = getClass_248;
_.onDown = onDown_1;
_.onEnter = onEnter_0;
_.onLeft = onLeft_0;
_.onRight = onRight_0;
_.onUp = onUp_0;
_.typeId$ = 191;
_.this$0 = null;
function $clinit_275(){
  $clinit_275 = nullMethod;
  $clinit_270();
}

function $MenuItem_1(this$static, text, icon){
  $clinit_275();
  $Component(this$static);
  this$static.disabledStyle = 'x-item-disabled';
  this$static.canActivate = true;
  this$static.text = text;
  $setIcon_2(this$static, icon);
  return this$static;
}

function $expandMenu(this$static){
  if (!this$static.disabled && !!this$static.subMenu) {
    this$static.subMenu.focusOnShow = true;
    $show_4(this$static.subMenu, this$static.el.dom_0, 'tl-tr?', initValues(_3I_classLit, 328, -1, [0, 0]));
  }
}

function $setIcon_2(this$static, icon){
  var e, oldIcon;
  if (this$static.rendered) {
    oldIcon = $selectNode(this$static.el, '.x-menu-item-icon');
    !!oldIcon && oldIcon.remove();
    if (icon) {
      e = $createStructure(icon.url, icon.left_0, icon.top_0, icon.width, icon.height);
      $addStyleName(($clinit_19() , fly_1(e, '_global')), initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-menu-item-icon']));
      $insertChild(this$static.el, e, 0);
    }
  }
  this$static.icon = icon;
}

function $setSubMenu(this$static, menu){
  this$static.subMenu = menu;
  menu.parentItem = this$static;
}

function $setText_3(this$static, text){
  this$static.text = text;
  if (this$static.rendered) {
    $update(this$static.el, text == null || $equals_4('', text)?'&#160;':text);
    $setIcon_2(this$static, this$static.icon);
  }
}

function activate_0(autoExpand){
  $activate(this);
  autoExpand && !!this.subMenu && $expandMenu(this);
}

function afterRender_5(){
  this.mask && $mask_0(this, this.maskMessage, this.maskMessageStyleName);
  $setText_3(this, this.text);
}

function deactivate_0(){
  $deactivate(this);
  !!this.subMenu && this.subMenu.showing && $hide_6(this.subMenu, false);
}

function expandMenu_0(autoActivate){
  if (!this.disabled && !!this.subMenu) {
    if (!this.subMenu.showing) {
      $expandMenu(this);
      $tryActivate(this.subMenu, 0, 1);
    }
  }
}

function getClass_249(){
  return Lcom_extjs_gxt_ui_client_widget_menu_MenuItem_2_classLit;
}

function onRender_28(target, index){
  var s;
  $setElement_1(this, ($clinit_308() , $doc).createElement('a'), target, index);
  $clinit_0();
  ariaEnabled?($getElement_0(this).setAttribute('role', 'menuitem') , undefined):($getElement_0(this)['href'] = '#' , undefined);
  s = 'x-menu-item' + (this.subMenu?' x-menu-item-arrow':'');
  $addStyleName_0(this, s);
  $setText_3(this, this.text);
  !!this.subMenu && ($getElement_0(this).setAttribute('aria-haspopup', 'true') , undefined);
}

function shouldDeactivate_0(ce){
  if (!!this.subMenu && this.subMenu.showing) {
    return !$contains_0($getBounds(this.subMenu.el, false, false), $getXY_0(ce));
  }
  return true;
}

function MenuItem(){
}

_ = MenuItem.prototype = new Item;
_.activate = activate_0;
_.afterRender_0 = afterRender_5;
_.deactivate = deactivate_0;
_.expandMenu = expandMenu_0;
_.getClass$ = getClass_249;
_.onRender = onRender_28;
_.shouldDeactivate = shouldDeactivate_0;
_.typeId$ = 192;
_.icon = null;
_.subMenu = null;
_.text = null;
function $clinit_276(){
  $clinit_276 = nullMethod;
  $clinit_143();
}

function $doAutoWidth(this$static){
  var body, bw, child_0;
  if (this$static.width == null) {
    body = $getElement_1(this$static, 'body');
    bw = $getTextWidth(fly_1(body, 'component'));
    this$static.head.text != null && (bw = max_0(bw, $getTextWidth((child_0 = ($clinit_18() , $wnd.GXT.Ext.DomQuery.select('span', this$static.head.el.dom_0)[0]) , !child_0?null:$El(new El, child_0)))));
    bw += $getFrameWidth_0(this$static) + (this$static.closable?20:0) + $getPadding(fly_1(body, 'component'), 'lr');
    $setSize_1(this$static, constrain(bw, this$static.minWidth, this$static.maxWidth), -1);
  }
}

function $hide_7(this$static){
  $hide_0(this$static);
  this$static.attached && $remove_12(($clinit_465() , get_8(null)), this$static);
}

function $onRender_6(this$static, parent_0, pos){
  if (this$static.closable) {
    this$static.headerVisible = true;
    $addTool(this$static.head, $ToolButton_0(new ToolButton, 'x-tool-close', $Tip$1(new Tip$1, this$static)));
  }
  $onRender_1(this$static, parent_0, pos);
}

function $showAt_1(this$static, point){
  $showAt_2(this$static, point.x, point.y);
}

function getClass_250(){
  return Lcom_extjs_gxt_ui_client_widget_tips_Tip_2_classLit;
}

function hide_4(){
  $hide_7(this);
}

function onDisable_7(){
  $mask_0(this, null, null);
  $addStyleName_0(this, this.disabledStyle);
  this.hide();
}

function onRender_29(parent_0, pos){
  $onRender_6(this, parent_0, pos);
}

function Tip(){
}

_ = Tip.prototype = new ContentPanel;
_.getClass$ = getClass_250;
_.hide = hide_4;
_.onDisable = onDisable_7;
_.onRender = onRender_29;
_.typeId$ = 193;
_.closable = false;
_.constrainPosition = true;
_.maxWidth = 300;
_.minWidth = 40;
function $Tip$1(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $componentSelected_8(this$static){
  this$static.this$0.hide();
}

function componentSelected_8(p0){
  $componentSelected_8(this, dynamicCast(p0, 71));
}

function getClass_251(){
  return Lcom_extjs_gxt_ui_client_widget_tips_Tip$1_2_classLit;
}

function Tip$1(){
}

_ = Tip$1.prototype = new SelectionListener;
_.componentSelected = componentSelected_8;
_.getClass$ = getClass_251;
_.typeId$ = 194;
_.this$0 = null;
function $clinit_278(){
  $clinit_278 = nullMethod;
  $clinit_276();
}

function $ToolTip_0(this$static, target, config){
  $clinit_278();
  $ContentPanel(this$static);
  this$static.frame = true;
  this$static.baseStyle = 'x-tip';
  this$static.shim = true;
  this$static.autoHeight = true;
  this$static.shadow = true;
  this$static.targetXY = $Point(new Point, 0, 0);
  this$static.toolTipConfig = $ToolTipConfig(new ToolTipConfig);
  this$static.hidden = true;
  this$static.lastActive = $Date(new Date_0);
  $updateConfig(this$static, config);
  $initTarget_0(this$static, target);
  return this$static;
}

function $clearTimer(this$static, timer){
  if ($equals_4(timer, 'hide')) {
    if (this$static.hideTimer) {
      $cancel(this$static.hideTimer);
      this$static.hideTimer = null;
    }
  }
   else if ($equals_4(timer, 'dismiss')) {
    if (this$static.dismissTimer) {
      $cancel(this$static.dismissTimer);
      this$static.dismissTimer = null;
    }
  }
   else if ($equals_4(timer, 'show')) {
    if (this$static.showTimer) {
      $cancel(this$static.showTimer);
      this$static.showTimer = null;
    }
  }
}

function $clearTimers(this$static){
  $clearTimer(this$static, 'show');
  $clearTimer(this$static, 'dismiss');
  $clearTimer(this$static, 'hide');
}

function $delayHide(this$static){
  if (!this$static.hidden && !this$static.hideTimer) {
    this$static.hideTimer = $ToolTip$4(new ToolTip$4, this$static);
    $schedule(this$static.hideTimer, 200);
  }
}

function $delayShow(this$static){
  if (this$static.hidden && !this$static.showTimer) {
    if (compare_1(sub_0(fromDouble($getTime0($Date(new Date_0))), fromDouble($getTime0(this$static.lastActive))), Pfa_longLit) < 0) {
      $show_5(this$static);
    }
     else {
      this$static.showTimer = $ToolTip$3(new ToolTip$3, this$static);
      $schedule(this$static.showTimer, 500);
    }
  }
   else 
    !this$static.hidden && $show_5(this$static);
}

function $getAnchorAlign(this$static){
  if ($equals_4(this$static.toolTipConfig.anchor, 'top')) {
    return 'tl-bl';
  }
   else if ($equals_4(this$static.toolTipConfig.anchor, 'left')) {
    return 'tl-tr';
  }
   else if ($equals_4(this$static.toolTipConfig.anchor, 'right')) {
    return 'tr-tl';
  }
  return 'bl-tl';
}

function $getOffsets(this$static){
  var ap, mouseOffset, offsets;
  ap = this$static.toolTipConfig.anchor.charCodeAt(0);
  if (this$static.toolTipConfig.trackMouse) {
    switch (ap) {
      case 116:
        offsets = initValues(_3I_classLit, 328, -1, [-15, 30]);
        break;
      case 98:
        offsets = initValues(_3I_classLit, 328, -1, [-19, -13 - (this$static.el.dom_0.offsetHeight || 0)]);
        break;
      case 114:
        offsets = initValues(_3I_classLit, 328, -1, [-15 - (this$static.el.dom_0.offsetWidth || 0), -13]);
        break;
      default:offsets = initValues(_3I_classLit, 328, -1, [25, -13]);
    }
  }
   else {
    switch (ap) {
      case 116:
        offsets = initValues(_3I_classLit, 328, -1, [0, 9]);
        break;
      case 98:
        offsets = initValues(_3I_classLit, 328, -1, [0, -13]);
        break;
      case 114:
        offsets = initValues(_3I_classLit, 328, -1, [-13, 0]);
        break;
      default:offsets = initValues(_3I_classLit, 328, -1, [9, 0]);
    }
  }
  mouseOffset = this$static.toolTipConfig.mouseOffset;
  offsets[0] += mouseOffset[0];
  offsets[1] += mouseOffset[1];
  return offsets;
}

function $getTargetXY(this$static, targetCounter){
  var axy, dh, dw, mouseOffset, offsets, r, scrollX, scrollY, sz, x, xy, y;
  mouseOffset = this$static.toolTipConfig.mouseOffset;
  if (this$static.toolTipConfig.anchor != null) {
    ++targetCounter;
    offsets = $getOffsets(this$static);
    xy = this$static.toolTipConfig.trackMouse?this$static.targetXY:$getAlignToXY_0(this$static.el, this$static.target_0.el.dom_0, $getAnchorAlign(this$static), null);
    dw = ($clinit_34() , getViewportWidth()) - 5;
    dh = getViewportHeight() - 5;
    scrollX = getBodyScrollLeft() + 5;
    scrollY = getBodyScrollTop() + 5;
    axy = initValues(_3I_classLit, 328, -1, [xy.x + offsets[0], xy.y + offsets[1]]);
    sz = $getSize(this$static.el, false);
    r = $getRegion(this$static.target_0.el);
    $removeStyleName_1(this$static.anchorEl, this$static.anchorStyle);
    if (targetCounter < 2) {
      if (sz.width + offsets[0] + scrollX < dw - r.right) {
        this$static.toolTipConfig.anchor = 'left';
        return $getTargetXY(this$static, targetCounter);
      }
      if (sz.width + offsets[0] + scrollX < r.left_0) {
        this$static.toolTipConfig.anchor = 'right';
        return $getTargetXY(this$static, targetCounter);
      }
      if (sz.height + offsets[1] + scrollY < dh - r.bottom) {
        this$static.toolTipConfig.anchor = 'top';
        return $getTargetXY(this$static, targetCounter);
      }
      if (sz.height + offsets[1] + scrollY < r.top_0) {
        this$static.toolTipConfig.anchor = 'bottom';
        return $getTargetXY(this$static, targetCounter);
      }
    }
    this$static.anchorStyle = 'x-tip-anchor-' + this$static.toolTipConfig.anchor;
    $addStyleName(this$static.anchorEl, initValues(_3Ljava_lang_String_2_classLit, 340, 1, [this$static.anchorStyle]));
    targetCounter = 0;
    return $Point(new Point, axy[0], axy[1]);
  }
   else {
    x = this$static.targetXY.x + mouseOffset[0];
    y = this$static.targetXY.y + mouseOffset[1];
    return $Point(new Point, x, y);
  }
}

function $hide_8(this$static){
  $clearTimers(this$static);
  this$static.lastActive = $Date(new Date_0);
  $hide_7(this$static);
}

function $initTarget_0(this$static, target){
  if (this$static.target_0) {
    $removeListener(this$static.target_0.observable, ($clinit_56() , OnMouseOver), this$static.listener);
    $removeListener(this$static.target_0.observable, OnMouseOut, this$static.listener);
    $removeListener(this$static.target_0.observable, OnMouseMove, this$static.listener);
    $removeListener(this$static.target_0.observable, Hide, this$static.listener);
    $removeListener(this$static.target_0.observable, Detach, this$static.listener);
    $removeListener(this$static.target_0.observable, Render, this$static.listener);
  }
  this$static.target_0 = target;
  !this$static.listener && (this$static.listener = $ToolTip$1(new ToolTip$1, this$static, target));
  if (target) {
    $addListener(target.observable, ($clinit_56() , OnMouseOver), this$static.listener);
    $addListener(target.observable, Render, this$static.listener);
    $addListener(target.observable, OnMouseOut, this$static.listener);
    $addListener(target.observable, OnMouseMove, this$static.listener);
    $addListener(target.observable, Hide, this$static.listener);
    $addListener(target.observable, Detach, this$static.listener);
    target.rendered?$sinkEvents(target, 112):(target.events |= 112);
  }
}

function $onMouseMove_0(this$static, ce){
  var p;
  this$static.targetXY = $getXY_0(ce);
  if (!this$static.hidden && this$static.toolTipConfig.trackMouse) {
    p = $getTargetXY(this$static, 0);
    this$static.constrainPosition && (p = $getConstrainToXY(this$static.el, ($clinit_34() , $doc.body || $doc.documentElement), p));
    $setPagePosition_0(this$static, p.x, p.y);
  }
}

function $onTargetOut(this$static){
  if (this$static.disabled) {
    return;
  }
  $clearTimer(this$static, 'show');
  $delayHide(this$static);
}

function $onTargetOver(this$static, ce){
  if (this$static.disabled || !$within(ce, this$static.target_0.getElement(), false)) {
    return;
  }
  $clearTimer(this$static, 'hide');
  this$static.targetXY = $getXY_0(ce);
  $delayShow(this$static);
}

function $show_5(this$static){
  var origAnchor, origConstrainPosition;
  if (this$static.disabled)
    return;
  origAnchor = null;
  origConstrainPosition = false;
  if (this$static.toolTipConfig.anchor != null) {
    origAnchor = this$static.toolTipConfig.anchor;
    $showAt_2(this$static, -1000, -1000);
    origConstrainPosition = this$static.constrainPosition;
    this$static.constrainPosition = false;
  }
  $showAt_1(this$static, $getTargetXY(this$static, 0));
  if (this$static.toolTipConfig.anchor != null) {
    this$static.anchorEl.setVisible(true);
    $syncAnchor(this$static);
    this$static.constrainPosition = origConstrainPosition;
    this$static.toolTipConfig.anchor = origAnchor;
  }
   else {
    this$static.anchorEl.setVisible(false);
  }
}

function $showAt_2(this$static, x, y){
  var p;
  if (this$static.disabled)
    return;
  this$static.lastActive = $Date(new Date_0);
  $clearTimers(this$static);
  !this$static.attached && $add_10(($clinit_465() , get_8(null)), this$static);
  $show_0(this$static);
  $updateContent(this$static);
  $doAutoWidth(this$static);
  p = $Point(new Point, x, y);
  this$static.constrainPosition && (p = $getConstrainToXY(this$static.el, ($clinit_34() , $doc.body || $doc.documentElement), p));
  $setPagePosition_0(this$static, p.x + getBodyScrollLeft(), p.y + getBodyScrollTop());
  this$static.el.setVisibility(true);
  this$static.dismissTimer = $ToolTip$2(new ToolTip$2, this$static);
  $schedule(this$static.dismissTimer, 5000);
}

function $syncAnchor(this$static){
  var anchorPos, offset, targetPos;
  switch (this$static.toolTipConfig.anchor.charCodeAt(0)) {
    case 116:
      anchorPos = 'b';
      targetPos = 'tl';
      offset = initValues(_3I_classLit, 328, -1, [20, 2]);
      break;
    case 114:
      anchorPos = 'l';
      targetPos = 'tr';
      offset = initValues(_3I_classLit, 328, -1, [-2, 11]);
      break;
    case 98:
      anchorPos = 't';
      targetPos = 'bl';
      offset = initValues(_3I_classLit, 328, -1, [20, -2]);
      break;
    default:anchorPos = 'r';
      targetPos = 'tl';
      offset = initValues(_3I_classLit, 328, -1, [2, 11]);
  }
  $alignTo(this$static.anchorEl, this$static.el.dom_0, anchorPos + '-' + targetPos, offset);
}

function $update_2(this$static, config){
  $updateConfig(this$static, config);
  !this$static.hidden && $updateContent(this$static);
}

function $updateConfig(this$static, config){
  this$static.toolTipConfig = config;
  this$static.minWidth = 40;
  this$static.maxWidth = 300;
  this$static.text = config.text;
}

function $updateContent(this$static){
  var text;
  $setText(this$static.head, '');
  text = this$static.text;
  text != null && $update(this$static.body_0, text);
}

function afterRender_6(){
  $afterRender_1(this);
  $setStyleAttribute(this.anchorEl, 'zIndex', valueOf_0((parseInt(dynamicCast($getStyleAttribute_1(computedStyle, this.el.dom_0, $Arrays$ArrayList(new Arrays$ArrayList, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['zIndex']))).map['zIndex'], 1), 10) || 0) + 1));
}

function getClass_252(){
  return Lcom_extjs_gxt_ui_client_widget_tips_ToolTip_2_classLit;
}

function hide_5(){
  $hide_8(this);
}

function onRender_30(target, index){
  $onRender_6(this, target, index);
  this.anchorEl = $El(new El, ($clinit_308() , $doc).createElement('div'));
  $addStyleName(this.anchorEl, initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['x-tip-anchor']));
  $appendChild(this.el, this.anchorEl.dom_0);
}

function show_3(){
  $show_5(this);
}

function ToolTip(){
}

_ = ToolTip.prototype = new Tip;
_.afterRender_0 = afterRender_6;
_.getClass$ = getClass_252;
_.hide = hide_5;
_.onRender = onRender_30;
_.show = show_3;
_.typeId$ = 195;
_.anchorEl = null;
_.anchorStyle = null;
_.dismissTimer = null;
_.hideTimer = null;
_.lastActive = null;
_.listener = null;
_.showTimer = null;
_.target_0 = null;
_.text = null;
_.toolTipConfig = null;
function $ToolTip$1(this$static, this$0, val$target){
  this$static.this$0 = this$0;
  this$static.val$target = val$target;
  return this$static;
}

function $handleEvent_33(this$static, be){
  var from, source, to, type;
  source = this$static.val$target.getElement();
  type = be.type_0;
  if (type == ($clinit_56() , OnMouseOver)) {
    from = $eventGetFromElement(be.event_0);
    !!from && !$isOrHasChild_0(($clinit_308() , source), from) && $onTargetOver(this$static.this$0, be);
  }
   else if (type == OnMouseOut) {
    to = $eventGetToElement(be.event_0);
    !!to && !$isOrHasChild_0(($clinit_308() , source), to) && $onTargetOut(this$static.this$0);
  }
   else 
    type == OnMouseMove?$onMouseMove_0(this$static.this$0, be):(type == Hide || type == Detach) && $hide_8(this$static.this$0);
}

function getClass_253(){
  return Lcom_extjs_gxt_ui_client_widget_tips_ToolTip$1_2_classLit;
}

function handleEvent_35(p0){
  $handleEvent_33(this, dynamicCast(p0, 48));
}

function ToolTip$1(){
}

_ = ToolTip$1.prototype = new Object_0;
_.getClass$ = getClass_253;
_.handleEvent = handleEvent_35;
_.typeId$ = 196;
_.this$0 = null;
_.val$target = null;
--></script>
<script><!--
function $clinit_280(){
  $clinit_280 = nullMethod;
  $clinit_1();
}

function $ToolTip$2(this$static, this$0){
  $clinit_280();
  this$static.this$0 = this$0;
  return this$static;
}

function getClass_254(){
  return Lcom_extjs_gxt_ui_client_widget_tips_ToolTip$2_2_classLit;
}

function run_4(){
  $hide_8(this.this$0);
}

function ToolTip$2(){
}

_ = ToolTip$2.prototype = new Timer;
_.getClass$ = getClass_254;
_.run = run_4;
_.typeId$ = 197;
_.this$0 = null;
function $clinit_281(){
  $clinit_281 = nullMethod;
  $clinit_1();
}

function $ToolTip$3(this$static, this$0){
  $clinit_281();
  this$static.this$0 = this$0;
  return this$static;
}

function getClass_255(){
  return Lcom_extjs_gxt_ui_client_widget_tips_ToolTip$3_2_classLit;
}

function run_5(){
  $show_5(this.this$0);
}

function ToolTip$3(){
}

_ = ToolTip$3.prototype = new Timer;
_.getClass$ = getClass_255;
_.run = run_5;
_.typeId$ = 198;
_.this$0 = null;
function $clinit_282(){
  $clinit_282 = nullMethod;
  $clinit_1();
}

function $ToolTip$4(this$static, this$0){
  $clinit_282();
  this$static.this$0 = this$0;
  return this$static;
}

function getClass_256(){
  return Lcom_extjs_gxt_ui_client_widget_tips_ToolTip$4_2_classLit;
}

function run_6(){
  $hide_8(this.this$0);
}

function ToolTip$4(){
}

_ = ToolTip$4.prototype = new Timer;
_.getClass$ = getClass_256;
_.run = run_6;
_.typeId$ = 199;
_.this$0 = null;
function $ToolTipConfig(this$static){
  this$static.mouseOffset = initValues(_3I_classLit, 328, -1, [15, 18]);
  return this$static;
}

function getClass_257(){
  return Lcom_extjs_gxt_ui_client_widget_tips_ToolTipConfig_2_classLit;
}

function ToolTipConfig(){
}

_ = ToolTipConfig.prototype = new Object_0;
_.getClass$ = getClass_257;
_.typeId$ = 0;
_.anchor = null;
_.text = null;
_.trackMouse = false;
function $clinit_284(){
  $clinit_284 = nullMethod;
  $clinit_101();
}

function $FillToolItem(this$static){
  $clinit_284();
  $Component(this$static);
  $setAriaIgnore(this$static, true);
  return this$static;
}

function getClass_258(){
  return Lcom_extjs_gxt_ui_client_widget_toolbar_FillToolItem_2_classLit;
}

function onRender_31(target, index){
  $setElement_1(this, ($clinit_308() , $doc).createElement('div'), target, index);
}

function FillToolItem(){
}

_ = FillToolItem.prototype = new Component;
_.getClass$ = getClass_258;
_.onRender = onRender_31;
_.typeId$ = 200;
function $clinit_285(){
  $clinit_285 = nullMethod;
  $clinit_1();
}

function getClass_259(){
  return Lcom_google_gwt_animation_client_Animation$1_2_classLit;
}

function run_7(){
  updateAnimations();
}

function Animation$1(){
}

_ = Animation$1.prototype = new Timer;
_.getClass$ = getClass_259;
_.run = run_7;
_.typeId$ = 201;
function $Throwable(this$static, message, cause){
  $fillInStackTrace();
  this$static.cause = cause;
  this$static.detailMessage = message;
  return this$static;
}

function $printStackTrace(this$static){
  var causeMessage, currentCause, msg;
  msg = $StringBuffer(new StringBuffer);
  currentCause = this$static;
  while (currentCause) {
    causeMessage = currentCause.getMessage();
    currentCause != this$static && (msg.impl.string += 'Caused by: ' , undefined);
    $append_5(msg, currentCause.getClass$().typeName);
    msg.impl.string += ': ';
    msg.impl.string += causeMessage == null?'(No exception detail)':causeMessage;
    msg.impl.string += '\n';
    currentCause = currentCause.cause;
  }
}

function $setStackTrace(stackTrace){
  var c, copy, i;
  copy = initDim(_3Ljava_lang_StackTraceElement_2_classLit, 339, 37, stackTrace.length, 0);
  for (i = 0 , c = stackTrace.length; i < c; ++i) {
    if (!stackTrace[i]) {
      throw $NullPointerException(new NullPointerException);
    }
    copy[i] = stackTrace[i];
  }
}

function $toString_4(this$static){
  var className, msg;
  className = this$static.getClass$().typeName;
  msg = this$static.getMessage();
  if (msg != null) {
    return className + ': ' + msg;
  }
   else {
    return className;
  }
}

function getClass_260(){
  return Ljava_lang_Throwable_2_classLit;
}

function getMessage(){
  return this.detailMessage;
}

function toString_14(){
  return $toString_4(this);
}

function Throwable(){
}

_ = Throwable.prototype = new Object_0;
_.getClass$ = getClass_260;
_.getMessage = getMessage;
_.toString$ = toString_14;
_.typeId$ = 202;
_.cause = null;
_.detailMessage = null;
function getClass_261(){
  return Ljava_lang_Exception_2_classLit;
}

function Exception(){
}

_ = Exception.prototype = new Throwable;
_.getClass$ = getClass_261;
_.typeId$ = 203;
function getClass_262(){
  return Ljava_lang_RuntimeException_2_classLit;
}

function RuntimeException(){
}

_ = RuntimeException.prototype = new Exception;
_.getClass$ = getClass_262;
_.typeId$ = 204;
function $JavaScriptException(this$static, e){
  $fillInStackTrace();
  this$static.e = e;
  $createStackTrace(this$static);
  return this$static;
}

function getClass_263(){
  return Lcom_google_gwt_core_client_JavaScriptException_2_classLit;
}

function getDescription(e){
  if (e != null && e.typeMarker$ != nullMethod && e.typeId$ != 2) {
    return getDescription0(dynamicCastJso(e));
  }
   else {
    return e + '';
  }
}

function getDescription0(e){
  return e == null?null:e.message;
}

function getMessage_0(){
  return this.message_0 == null && (this.name_0 = getName(this.e) , this.description = getDescription(this.e) , this.message_0 = '(' + this.name_0 + '): ' + this.description + getProperties(this.e) , undefined) , this.message_0;
}

function getName(e){
  if (e == null) {
    return 'null';
  }
   else if (e != null && e.typeMarker$ != nullMethod && e.typeId$ != 2) {
    return getName0(dynamicCastJso(e));
  }
   else if (e != null && canCast(e.typeId$, 1)) {
    return 'String';
  }
   else {
    return (e.typeMarker$ == nullMethod || e.typeId$ == 2?e.getClass$():Lcom_google_gwt_core_client_JavaScriptObject_2_classLit).typeName;
  }
}

function getName0(e){
  return e == null?null:e.name;
}

function getProperties(e){
  return e != null && e.typeMarker$ != nullMethod && e.typeId$ != 2?getProperties0(dynamicCastJso(e)):'';
}

function getProperties0(e){
  var result = '';
  try {
    for (prop in e) {
      if (prop != 'name' && prop != 'message' && prop != 'toString') {
        try {
          result += '\n ' + prop + ': ' + e[prop];
        }
         catch (ignored) {
        }
      }
    }
  }
   catch (ignored) {
  }
  return result;
}

function JavaScriptException(){
}

_ = JavaScriptException.prototype = new RuntimeException;
_.getClass$ = getClass_263;
_.getMessage = getMessage_0;
_.typeId$ = 205;
_.description = null;
_.e = null;
_.message_0 = null;
_.name_0 = null;
function $clinit_295(){
  var out;
  $clinit_295 = nullMethod;
  escapeTable = (out = ['\\u0000', '\\u0001', '\\u0002', '\\u0003', '\\u0004', '\\u0005', '\\u0006', '\\u0007', '\\b', '\\t', '\\n', '\\u000B', '\\f', '\\r', '\\u000E', '\\u000F', '\\u0010', '\\u0011', '\\u0012', '\\u0013', '\\u0014', '\\u0015', '\\u0016', '\\u0017', '\\u0018', '\\u0019', '\\u001A', '\\u001B', '\\u001C', '\\u001D', '\\u001E', '\\u001F'] , out[34] = '\\"' , out[92] = '\\\\' , out[8232] = '\\u2028' , out[8233] = '\\u2029' , out);
}

function escapeValue(toEscape){
  $clinit_295();
  var s = toEscape.replace(/[\x00-\x1F\u2028\u2029"\\]/g, function(x){
    var lookedUp;
    return lookedUp = escapeTable[x.charCodeAt(0)] , lookedUp == null?x:lookedUp;
  }
  );
  return '"' + s + '"';
}

var escapeTable;
function getClass_264(){
  return Lcom_google_gwt_core_client_Scheduler_2_classLit;
}

function Scheduler(){
}

_ = Scheduler.prototype = new Object_0;
_.getClass$ = getClass_264;
_.typeId$ = 0;
function entry_0(jsFunction){
  return function(){
    return entry0(jsFunction, this, arguments);
  }
  ;
}

function entry0(jsFunction, thisObj, arguments_0){
  var initialEntry;
  initialEntry = entryDepth++ == 0;
  try {
    return jsFunction.apply(thisObj, arguments_0);
  }
   finally {
    initialEntry && $flushFinallyCommands(($clinit_299() , INSTANCE));
    --entryDepth;
  }
}

function getHashCode(o){
  return o.$H || (o.$H = ++sNextHashId);
}

var entryDepth = 0, sNextHashId = 0;
function $clinit_299(){
  $clinit_299 = nullMethod;
  INSTANCE = $SchedulerImpl(new SchedulerImpl);
}

function $SchedulerImpl(this$static){
  $clinit_299();
  this$static.flusher = $SchedulerImpl$1(new SchedulerImpl$1, this$static);
  $SchedulerImpl$2(new SchedulerImpl$2, this$static);
  this$static.deferredCommands = [];
  this$static.incrementalCommands = [];
  this$static.finallyCommands = [];
  return this$static;
}

function $flushFinallyCommands(this$static){
  var oldFinally;
  oldFinally = this$static.finallyCommands;
  this$static.finallyCommands = [];
  runScheduledTasks(oldFinally, this$static.finallyCommands);
}

function $flushPostEventPumpCommands(this$static){
  var oldDeferred;
  oldDeferred = this$static.deferredCommands;
  this$static.deferredCommands = [];
  runScheduledTasks(oldDeferred, this$static.incrementalCommands);
  this$static.incrementalCommands = runRepeatingTasks(this$static.incrementalCommands);
}

function $isWorkQueued(this$static){
  return this$static.deferredCommands.length > 0 || this$static.incrementalCommands.length > 0;
}

function execute_9(cmd){
  return cmd.execute_0();
}

function getClass_265(){
  return Lcom_google_gwt_core_client_impl_SchedulerImpl_2_classLit;
}

function runRepeatingTasks(tasks){
  var canceledSomeTasks, i, length_0, newTasks, start, t;
  canceledSomeTasks = false;
  length_0 = tasks.length;
  start = (new Date).getTime();
  while ((new Date).getTime() - start < 100) {
    for (i = 0; i < length_0; ++i) {
      t = tasks[i];
      if (!t) {
        continue;
      }
      if (!t[0].execute_0()) {
        tasks[i] = null;
        canceledSomeTasks = true;
      }
    }
  }
  if (canceledSomeTasks) {
    newTasks = [];
    for (i = 0; i < length_0; ++i) {
      if (!tasks[i]) {
        continue;
      }
      newTasks[newTasks.length] = tasks[i];
    }
    return newTasks;
  }
   else {
    return tasks;
  }
}

function runScheduledTasks(tasks, rescheduled){
  var $e0, i, j, t;
  for (i = 0 , j = tasks.length; i < j; ++i) {
    t = tasks[i];
    try {
      t[1]?t[0].execute_0() && (rescheduled[rescheduled.length] = t , undefined):t[0].nullMethod();
    }
     catch ($e0) {
      $e0 = caught_0($e0);
      if (!instanceOf($e0, 102))
        throw $e0;
    }
  }
}

function scheduleFixedDelayImpl(cmd, delayMs){
  $clinit_299();
  $wnd.setTimeout(function(){
    var ret = $entry(execute_9)(cmd);
    ret && $wnd.setTimeout(arguments.callee, delayMs);
  }
  , delayMs);
}

function SchedulerImpl(){
}

_ = SchedulerImpl.prototype = new Scheduler;
_.getClass$ = getClass_265;
_.typeId$ = 0;
_.flushRunning = false;
_.shouldBeRunning = false;
var INSTANCE;
function $SchedulerImpl$1(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function execute_10(){
  this.this$0.flushRunning = true;
  $flushPostEventPumpCommands(this.this$0);
  this.this$0.flushRunning = false;
  return this.this$0.shouldBeRunning = $isWorkQueued(this.this$0);
}

function getClass_266(){
  return Lcom_google_gwt_core_client_impl_SchedulerImpl$1_2_classLit;
}

function SchedulerImpl$1(){
}

_ = SchedulerImpl$1.prototype = new Object_0;
_.execute_0 = execute_10;
_.getClass$ = getClass_266;
_.typeId$ = 0;
_.this$0 = null;
function $SchedulerImpl$2(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function execute_11(){
  this.this$0.flushRunning && scheduleFixedDelayImpl(this.this$0.flusher, 1);
  return this.this$0.shouldBeRunning;
}

function getClass_267(){
  return Lcom_google_gwt_core_client_impl_SchedulerImpl$2_2_classLit;
}

function SchedulerImpl$2(){
}

_ = SchedulerImpl$2.prototype = new Object_0;
_.execute_0 = execute_11;
_.getClass$ = getClass_267;
_.typeId$ = 0;
_.this$0 = null;
function extractNameFromToString(fnToString){
  var index, start, toReturn;
  toReturn = '';
  fnToString = $trim(fnToString);
  index = fnToString.indexOf('(');
  if (index != -1) {
    start = fnToString.indexOf('function') == 0?8:0;
    toReturn = $trim(fnToString.substr(start, index - start));
  }
  return toReturn.length > 0?toReturn:'anonymous';
}

function splice(arr, length_0){
  arr.length >= length_0 && arr.splice(0, length_0);
  return arr;
}

function $createStackTrace(e){
  var i, j, stack, stackTrace;
  stack = $inferFrom(instanceOfJso(e.e)?dynamicCastJso(e.e):null);
  stackTrace = initDim(_3Ljava_lang_StackTraceElement_2_classLit, 339, 37, stack.length, 0);
  for (i = 0 , j = stackTrace.length; i < j; ++i) {
    stackTrace[i] = $StackTraceElement(new StackTraceElement, 'Unknown', stack[i], 'Unknown source', 0);
  }
  $setStackTrace(stackTrace);
}

function $fillInStackTrace(){
  var i, j, stack, stackTrace;
  stack = splice($inferFrom($makeException()), 2);
  stackTrace = initDim(_3Ljava_lang_StackTraceElement_2_classLit, 339, 37, stack.length, 0);
  for (i = 0 , j = stackTrace.length; i < j; ++i) {
    stackTrace[i] = $StackTraceElement(new StackTraceElement, 'Unknown', stack[i], 'Unknown source', 0);
  }
  $setStackTrace(stackTrace);
}

function $makeException(){
  try {
    null.a();
  }
   catch (e) {
    return e;
  }
}

function $inferFrom(e){
  var i, j, stack;
  stack = e && e.stack?e.stack.split('\n'):[];
  for (i = 0 , j = stack.length; i < j; ++i) {
    stack[i] = extractNameFromToString(stack[i]);
  }
  return stack;
}

function getClass_268(){
  return Lcom_google_gwt_core_client_impl_StringBufferImpl_2_classLit;
}

function StringBufferImpl(){
}

_ = StringBufferImpl.prototype = new Object_0;
_.getClass$ = getClass_268;
_.typeId$ = 0;
function $replace(this$static, start, end, toInsert){
  this$static.string = this$static.string.substr(0, start - 0) + toInsert + $substring(this$static.string, end);
}

function getClass_269(){
  return Lcom_google_gwt_core_client_impl_StringBufferImplAppend_2_classLit;
}

function StringBufferImplAppend(){
}

_ = StringBufferImplAppend.prototype = new StringBufferImpl;
_.getClass$ = getClass_269;
_.typeId$ = 0;
_.string = '';
function $clinit_308(){
  $clinit_308 = nullMethod;
  $clinit_310();
  new DOMImplMozilla;
}

function $eventGetKeyCode(evt){
  return evt.which || evt.keyCode || 0;
}

function $getFirstChildElement(elem){
  var child = elem.firstChild;
  while (child && child.nodeType != 1)
    child = child.nextSibling;
  return child;
}

function getClass_270(){
  return Lcom_google_gwt_dom_client_DOMImpl_2_classLit;
}

function DOMImpl(){
}

_ = DOMImpl.prototype = new Object_0;
_.getClass$ = getClass_270;
_.typeId$ = 0;
function $clinit_309(){
  $clinit_309 = nullMethod;
  $clinit_308();
}

function $eventGetButton(evt){
  var button = evt.button;
  if (button == 1) {
    return 4;
  }
   else if (button == 2) {
    return 2;
  }
  return 1;
}

function getClass_271(){
  return Lcom_google_gwt_dom_client_DOMImplStandard_2_classLit;
}

function DOMImplStandard(){
}

_ = DOMImplStandard.prototype = new DOMImpl;
_.getClass$ = getClass_271;
_.typeId$ = 0;
function $clinit_310(){
  $clinit_310 = nullMethod;
  $clinit_309();
}

function $eventGetRelatedTarget(evt){
  var relatedTarget = evt.relatedTarget;
  try {
    var nodeName = relatedTarget.nodeName;
    return relatedTarget;
  }
   catch (e) {
    return null;
  }
}

function $getAbsoluteLeft(elem){
  return $getAbsoluteLeftImpl($getViewportElement(elem.ownerDocument), elem);
}

function $getAbsoluteLeftImpl(viewport, elem){
  if (Element.prototype.getBoundingClientRect) {
    return elem.getBoundingClientRect().left + viewport.scrollLeft | 0;
  }
   else {
    var doc = elem.ownerDocument;
    return doc.getBoxObjectFor(elem).screenX - doc.getBoxObjectFor(doc.documentElement).screenX;
  }
}

function $getAbsoluteTop(elem){
  return $getAbsoluteTopImpl($getViewportElement(elem.ownerDocument), elem);
}

function $getAbsoluteTopImpl(viewport, elem){
  if (Element.prototype.getBoundingClientRect) {
    return elem.getBoundingClientRect().top + viewport.scrollTop | 0;
  }
   else {
    var doc = elem.ownerDocument;
    return doc.getBoxObjectFor(elem).screenY - doc.getBoxObjectFor(doc.documentElement).screenY;
  }
}

function $getScrollLeft_0(elem){
  var style;
  if (!$isGecko19() && (style = elem.ownerDocument.defaultView.getComputedStyle(elem, null) , style.direction == 'rtl')) {
    return (elem.scrollLeft || 0) - ((elem.scrollWidth || 0) - elem.clientWidth);
  }
  return elem.scrollLeft || 0;
}

function $isGecko19(){
  var result = /rv:([0-9]+)\.([0-9]+)/.exec(navigator.userAgent.toLowerCase());
  if (result && result.length == 3) {
    var version = parseInt(result[1]) * 1000 + parseInt(result[2]);
    if (version >= 1009) {
      return true;
    }
  }
  return false;
}

function $isOrHasChild_0(parent_0, child){
  return parent_0 === child || !!(parent_0.compareDocumentPosition(child) & 16);
}

function $setScrollLeft_1(elem, left){
  var style;
  !$isGecko19() && (style = elem.ownerDocument.defaultView.getComputedStyle(elem, null) , style.direction == 'rtl') && (left += (elem.scrollWidth || 0) - elem.clientWidth);
  elem.scrollLeft = left;
}

function $toString_5(elem){
  var doc = elem.ownerDocument;
  var temp = elem.cloneNode(true);
  var tempDiv = doc.createElement('DIV');
  tempDiv.appendChild(temp);
  outer = tempDiv.innerHTML;
  temp.innerHTML = '';
  return outer;
}

function getClass_272(){
  return Lcom_google_gwt_dom_client_DOMImplMozilla_2_classLit;
}

function DOMImplMozilla(){
}

_ = DOMImplMozilla.prototype = new DOMImplStandard;
_.getClass$ = getClass_272;
_.typeId$ = 0;
function $getChildNodes(this$static){
  return this$static.childNodes;
}

function $isOrHasChild_1(this$static, child){
  return $isOrHasChild_0(($clinit_308() , this$static), child);
}

function $enableScrolling(this$static, enable){
  ($equals_4(this$static.compatMode, 'CSS1Compat')?this$static.documentElement:this$static.body).style['overflow'] = enable?'auto':'hidden';
}

function $getClientHeight(this$static){
  return ($equals_4(this$static.compatMode, 'CSS1Compat')?this$static.documentElement:this$static.body).clientHeight;
}

function $getClientWidth(this$static){
  return ($equals_4(this$static.compatMode, 'CSS1Compat')?this$static.documentElement:this$static.body).clientWidth;
}

function $getViewportElement(this$static){
  return $equals_4(this$static.compatMode, 'CSS1Compat')?this$static.documentElement:this$static.body;
}

function $getPropertyString(this$static, name_0){
  return this$static[name_0] == null?null:String(this$static[name_0]);
}

function $getTagName_0(this$static){
  return ($clinit_308() , this$static).tagName;
}

function $setClassName(this$static, className){
  this$static.className = className;
}

function $clinit_318(){
  $clinit_318 = nullMethod;
  PX = $Style$Unit$1(new Style$Unit$1, 'PX', 0);
  PCT = $Style$Unit$2(new Style$Unit$2, 'PCT', 1);
  EM = $Style$Unit$3(new Style$Unit$3, 'EM', 2);
  EX = $Style$Unit$4(new Style$Unit$4, 'EX', 3);
  PT = $Style$Unit$5(new Style$Unit$5, 'PT', 4);
  PC = $Style$Unit$6(new Style$Unit$6, 'PC', 5);
  IN = $Style$Unit$7(new Style$Unit$7, 'IN', 6);
  CM = $Style$Unit$8(new Style$Unit$8, 'CM', 7);
  MM = $Style$Unit$9(new Style$Unit$9, 'MM', 8);
}

function getClass_273(){
  return Lcom_google_gwt_dom_client_Style$Unit_2_classLit;
}

function values_15(){
  $clinit_318();
  return initValues(_3Lcom_google_gwt_dom_client_Style$Unit_2_classLit, 321, 22, [PX, PCT, EM, EX, PT, PC, IN, CM, MM]);
}

function Style$Unit(){
}

_ = Style$Unit.prototype = new Enum;
_.getClass$ = getClass_273;
_.typeId$ = 206;
var CM, EM, EX, IN, MM, PC, PCT, PT, PX;
function $clinit_319(){
  $clinit_319 = nullMethod;
  $clinit_318();
}

function $Style$Unit$1(this$static, enum$name, enum$ordinal){
  $clinit_319();
  this$static.name_0 = enum$name;
  this$static.ordinal = enum$ordinal;
  return this$static;
}

function getClass_274(){
  return Lcom_google_gwt_dom_client_Style$Unit$1_2_classLit;
}

function Style$Unit$1(){
}

_ = Style$Unit$1.prototype = new Style$Unit;
_.getClass$ = getClass_274;
_.typeId$ = 207;
function $clinit_320(){
  $clinit_320 = nullMethod;
  $clinit_318();
}

function $Style$Unit$2(this$static, enum$name, enum$ordinal){
  $clinit_320();
  this$static.name_0 = enum$name;
  this$static.ordinal = enum$ordinal;
  return this$static;
}

function getClass_275(){
  return Lcom_google_gwt_dom_client_Style$Unit$2_2_classLit;
}

function Style$Unit$2(){
}

_ = Style$Unit$2.prototype = new Style$Unit;
_.getClass$ = getClass_275;
_.typeId$ = 208;
function $clinit_321(){
  $clinit_321 = nullMethod;
  $clinit_318();
}

function $Style$Unit$3(this$static, enum$name, enum$ordinal){
  $clinit_321();
  this$static.name_0 = enum$name;
  this$static.ordinal = enum$ordinal;
  return this$static;
}

function getClass_276(){
  return Lcom_google_gwt_dom_client_Style$Unit$3_2_classLit;
}

function Style$Unit$3(){
}

_ = Style$Unit$3.prototype = new Style$Unit;
_.getClass$ = getClass_276;
_.typeId$ = 209;
function $clinit_322(){
  $clinit_322 = nullMethod;
  $clinit_318();
}

function $Style$Unit$4(this$static, enum$name, enum$ordinal){
  $clinit_322();
  this$static.name_0 = enum$name;
  this$static.ordinal = enum$ordinal;
  return this$static;
}

function getClass_277(){
  return Lcom_google_gwt_dom_client_Style$Unit$4_2_classLit;
}

function Style$Unit$4(){
}

_ = Style$Unit$4.prototype = new Style$Unit;
_.getClass$ = getClass_277;
_.typeId$ = 210;
function $clinit_323(){
  $clinit_323 = nullMethod;
  $clinit_318();
}

function $Style$Unit$5(this$static, enum$name, enum$ordinal){
  $clinit_323();
  this$static.name_0 = enum$name;
  this$static.ordinal = enum$ordinal;
  return this$static;
}

function getClass_278(){
  return Lcom_google_gwt_dom_client_Style$Unit$5_2_classLit;
}

function Style$Unit$5(){
}

_ = Style$Unit$5.prototype = new Style$Unit;
_.getClass$ = getClass_278;
_.typeId$ = 211;
function $clinit_324(){
  $clinit_324 = nullMethod;
  $clinit_318();
}

function $Style$Unit$6(this$static, enum$name, enum$ordinal){
  $clinit_324();
  this$static.name_0 = enum$name;
  this$static.ordinal = enum$ordinal;
  return this$static;
}

function getClass_279(){
  return Lcom_google_gwt_dom_client_Style$Unit$6_2_classLit;
}

function Style$Unit$6(){
}

_ = Style$Unit$6.prototype = new Style$Unit;
_.getClass$ = getClass_279;
_.typeId$ = 212;
function $clinit_325(){
  $clinit_325 = nullMethod;
  $clinit_318();
}

function $Style$Unit$7(this$static, enum$name, enum$ordinal){
  $clinit_325();
  this$static.name_0 = enum$name;
  this$static.ordinal = enum$ordinal;
  return this$static;
}

function getClass_280(){
  return Lcom_google_gwt_dom_client_Style$Unit$7_2_classLit;
}

function Style$Unit$7(){
}

_ = Style$Unit$7.prototype = new Style$Unit;
_.getClass$ = getClass_280;
_.typeId$ = 213;
function $clinit_326(){
  $clinit_326 = nullMethod;
  $clinit_318();
}

function $Style$Unit$8(this$static, enum$name, enum$ordinal){
  $clinit_326();
  this$static.name_0 = enum$name;
  this$static.ordinal = enum$ordinal;
  return this$static;
}

function getClass_281(){
  return Lcom_google_gwt_dom_client_Style$Unit$8_2_classLit;
}

function Style$Unit$8(){
}

_ = Style$Unit$8.prototype = new Style$Unit;
_.getClass$ = getClass_281;
_.typeId$ = 214;
function $clinit_327(){
  $clinit_327 = nullMethod;
  $clinit_318();
}

function $Style$Unit$9(this$static, enum$name, enum$ordinal){
  $clinit_327();
  this$static.name_0 = enum$name;
  this$static.ordinal = enum$ordinal;
  return this$static;
}

function getClass_282(){
  return Lcom_google_gwt_dom_client_Style$Unit$9_2_classLit;
}

function Style$Unit$9(){
}

_ = Style$Unit$9.prototype = new Style$Unit;
_.getClass$ = getClass_282;
_.typeId$ = 215;
function getClass_283(){
  return Lcom_google_gwt_event_shared_GwtEvent_2_classLit;
}

function revive(){
  this.dead = false;
  this.source = null;
}

function toString_15(){
  return 'An event type';
}

function GwtEvent(){
}

_ = GwtEvent.prototype = new Object_0;
_.getClass$ = getClass_283;
_.revive = revive;
_.toString$ = toString_15;
_.typeId$ = 0;
_.dead = false;
_.source = null;
function fireNativeEvent(nativeEvent, handlerSource, relativeElem){
  var currentNative, currentRelativeElem, typeKey;
  if (registered) {
    typeKey = dynamicCast(registered.map[($clinit_308() , nativeEvent).type], 104);
    if (typeKey) {
      currentNative = typeKey.flyweight.nativeEvent;
      currentRelativeElem = typeKey.flyweight.relativeElem;
      typeKey.flyweight.nativeEvent = nativeEvent;
      typeKey.flyweight.relativeElem = relativeElem;
      $fireEvent_0(handlerSource, typeKey.flyweight);
      typeKey.flyweight.nativeEvent = currentNative;
      typeKey.flyweight.relativeElem = currentRelativeElem;
    }
  }
}

function getAssociatedType(){
  return $clinit_332() , TYPE;
}

function getClass_284(){
  return Lcom_google_gwt_event_dom_client_DomEvent_2_classLit;
}

function DomEvent_0(){
}

_ = DomEvent_0.prototype = new GwtEvent;
_.getAssociatedType = getAssociatedType;
_.getClass$ = getClass_284;
_.typeId$ = 0;
_.nativeEvent = null;
_.relativeElem = null;
var registered = null;
function $clinit_332(){
  $clinit_332 = nullMethod;
  TYPE = $DomEvent$Type(new DomEvent$Type, 'click', ($clinit_332() , new ClickEvent));
}

function dispatch(p0){
  $onClick_1(dynamicCast(p0, 103));
}

function getClass_285(){
  return Lcom_google_gwt_event_dom_client_ClickEvent_2_classLit;
}

function ClickEvent(){
}

_ = ClickEvent.prototype = new DomEvent_0;
_.dispatch = dispatch;
_.getClass$ = getClass_285;
_.typeId$ = 0;
var TYPE;
function $GwtEvent$Type(this$static){
  this$static.index_0 = ++nextHashCode;
  return this$static;
}

function getClass_286(){
  return Lcom_google_gwt_event_shared_GwtEvent$Type_2_classLit;
}

function hashCode_7(){
  return this.index_0;
}

function toString_16(){
  return 'Event type';
}

function GwtEvent$Type(){
}

_ = GwtEvent$Type.prototype = new Object_0;
_.getClass$ = getClass_286;
_.hashCode$ = hashCode_7;
_.toString$ = toString_16;
_.typeId$ = 0;
_.index_0 = 0;
var nextHashCode = 0;
function $DomEvent$Type(this$static, eventName, flyweight){
  this$static.index_0 = ++nextHashCode;
  this$static.flyweight = flyweight;
  !registered && (registered = $PrivateMap(new PrivateMap));
  registered.map[eventName] = this$static;
  this$static.name_0 = eventName;
  return this$static;
}

function getClass_287(){
  return Lcom_google_gwt_event_dom_client_DomEvent$Type_2_classLit;
}

function DomEvent$Type(){
}

_ = DomEvent$Type.prototype = new GwtEvent$Type;
_.getClass$ = getClass_287;
_.typeId$ = 216;
_.flyweight = null;
_.name_0 = null;
function $PrivateMap(this$static){
  this$static.map = {};
  return this$static;
}

function getClass_288(){
  return Lcom_google_gwt_event_dom_client_PrivateMap_2_classLit;
}

function PrivateMap(){
}

_ = PrivateMap.prototype = new Object_0;
_.getClass$ = getClass_288;
_.typeId$ = 0;
_.map = null;
function dispatch_0(p0){
  dynamicCast(p0, 105).onClose(this);
}

function fire_0(source){
  var event_0;
  if (TYPE_0) {
    event_0 = new CloseEvent;
    $fireEvent_5(source, event_0);
  }
}

function getAssociatedType_0(){
  return TYPE_0;
}

function getClass_289(){
  return Lcom_google_gwt_event_logical_shared_CloseEvent_2_classLit;
}

function CloseEvent(){
}

_ = CloseEvent.prototype = new GwtEvent;
_.dispatch = dispatch_0;
_.getAssociatedType = getAssociatedType_0;
_.getClass$ = getClass_289;
_.typeId$ = 0;
var TYPE_0 = null;
function $dispatch_2(handler){
  $delay(handler.this$0.windowResizeTask, handler.this$0.windowResizeDelay);
}

function dispatch_1(p0){
  $dispatch_2(dynamicCast(p0, 106));
}

function fire_1(source){
  var event_0;
  if (TYPE_1) {
    event_0 = new ResizeEvent_0;
    $fireEvent_5(source, event_0);
  }
}

function getAssociatedType_1(){
  return TYPE_1;
}

function getClass_290(){
  return Lcom_google_gwt_event_logical_shared_ResizeEvent_2_classLit;
}

function ResizeEvent_0(){
}

_ = ResizeEvent_0.prototype = new GwtEvent;
_.dispatch = dispatch_1;
_.getAssociatedType = getAssociatedType_1;
_.getClass$ = getClass_290;
_.typeId$ = 0;
var TYPE_1 = null;
function $ValueChangeEvent(this$static, value){
  this$static.value = value;
  return this$static;
}

function $dispatch_3(this$static, handler){
  var historyToken;
  historyToken = this$static.value;
  handler.this$0.history_0.map.hasOwnProperty('' + historyToken) && $dispatch_0(handler.this$0, dynamicCast(handler.this$0.history_0.map['' + historyToken], 57), false);
}

function dispatch_2(p0){
  $dispatch_3(this, dynamicCast(p0, 107));
}

function fire_2(source, value){
  var event_0;
  if (TYPE_2) {
    event_0 = $ValueChangeEvent(new ValueChangeEvent, value);
    $fireEvent_5(source.handlers, event_0);
  }
}

function getAssociatedType_2(){
  return TYPE_2;
}

function getClass_291(){
  return Lcom_google_gwt_event_logical_shared_ValueChangeEvent_2_classLit;
}

function ValueChangeEvent(){
}

_ = ValueChangeEvent.prototype = new GwtEvent;
_.dispatch = dispatch_2;
_.getAssociatedType = getAssociatedType_2;
_.getClass$ = getClass_291;
_.typeId$ = 0;
_.value = null;
var TYPE_2 = null;
function $DefaultHandlerRegistration(this$static, manager, type, handler){
  this$static.manager = manager;
  this$static.handler = handler;
  this$static.type_0 = type;
  return this$static;
}

function $removeHandler(this$static){
  $removeHandler_0(this$static.manager, this$static.type_0, this$static.handler);
}

function getClass_292(){
  return Lcom_google_gwt_event_shared_DefaultHandlerRegistration_2_classLit;
}

function DefaultHandlerRegistration(){
}

_ = DefaultHandlerRegistration.prototype = new Object_0;
_.getClass$ = getClass_292;
_.typeId$ = 0;
_.handler = null;
_.manager = null;
_.type_0 = null;
--></script>
<script><!--
function $HandlerManager(this$static, source){
  this$static.registry = $HandlerManager$HandlerRegistry(new HandlerManager$HandlerRegistry);
  this$static.source = source;
  this$static.isReverseOrder = false;
  return this$static;
}

function $HandlerManager_0(this$static, source, fireInReverseOrder){
  this$static.registry = $HandlerManager$HandlerRegistry(new HandlerManager$HandlerRegistry);
  this$static.source = source;
  this$static.isReverseOrder = fireInReverseOrder;
  return this$static;
}

function $addHandler(this$static, type, handler){
  this$static.firingDepth > 0?$defer(this$static, $HandlerManager$1(new HandlerManager$1, this$static, type, handler)):$addHandler_0(this$static.registry, type, handler);
  return $DefaultHandlerRegistration(new DefaultHandlerRegistration, this$static, type, handler);
}

function $defer(this$static, command){
  !this$static.deferredDeltas && (this$static.deferredDeltas = $ArrayList(new ArrayList));
  $add_13(this$static.deferredDeltas, command);
}

function $fireEvent_5(this$static, event_0){
  var oldSource;
  event_0.dead && event_0.revive();
  oldSource = event_0.source;
  event_0.source = this$static.source;
  try {
    ++this$static.firingDepth;
    $fireEvent_6(this$static.registry, event_0, this$static.isReverseOrder);
  }
   finally {
    --this$static.firingDepth;
    this$static.firingDepth == 0 && $handleQueuedAddsAndRemoves(this$static);
  }
  if (oldSource == null) {
    event_0.dead = true;
    event_0.source = null;
  }
   else {
    event_0.source = oldSource;
  }
}

function $handleQueuedAddsAndRemoves(this$static){
  var c, c$iterator;
  if (this$static.deferredDeltas) {
    try {
      for (c$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this$static.deferredDeltas); c$iterator.i < c$iterator.this$0_0.size_0();) {
        c = dynamicCast($next_4(c$iterator), 108);
        c.execute();
      }
    }
     finally {
      this$static.deferredDeltas = null;
    }
  }
}

function $removeHandler_0(this$static, type, handler){
  this$static.firingDepth > 0?$defer(this$static, $HandlerManager$2(new HandlerManager$2, this$static, type, handler)):$removeHandler_1(this$static.registry, type, handler);
}

function getClass_293(){
  return Lcom_google_gwt_event_shared_HandlerManager_2_classLit;
}

function HandlerManager(){
}

_ = HandlerManager.prototype = new Object_0;
_.getClass$ = getClass_293;
_.typeId$ = 0;
_.deferredDeltas = null;
_.firingDepth = 0;
_.isReverseOrder = false;
_.registry = null;
_.source = null;
function $HandlerManager$1(this$static, this$0, val$type, val$handler){
  this$static.this$0 = this$0;
  this$static.val$type = val$type;
  this$static.val$handler = val$handler;
  return this$static;
}

function execute_12(){
  $addHandler_0(this.this$0.registry, this.val$type, this.val$handler);
}

function getClass_294(){
  return Lcom_google_gwt_event_shared_HandlerManager$1_2_classLit;
}

function HandlerManager$1(){
}

_ = HandlerManager$1.prototype = new Object_0;
_.execute = execute_12;
_.getClass$ = getClass_294;
_.typeId$ = 217;
_.this$0 = null;
_.val$handler = null;
_.val$type = null;
function $HandlerManager$2(this$static, this$0, val$type, val$handler){
  this$static.this$0 = this$0;
  this$static.val$type = val$type;
  this$static.val$handler = val$handler;
  return this$static;
}

function execute_13(){
  $removeHandler_1(this.this$0.registry, this.val$type, this.val$handler);
}

function getClass_295(){
  return Lcom_google_gwt_event_shared_HandlerManager$2_2_classLit;
}

function HandlerManager$2(){
}

_ = HandlerManager$2.prototype = new Object_0;
_.execute = execute_13;
_.getClass$ = getClass_295;
_.typeId$ = 218;
_.this$0 = null;
_.val$handler = null;
_.val$type = null;
function $HandlerManager$HandlerRegistry(this$static){
  this$static.map = $HashMap(new HashMap);
  return this$static;
}

function $addHandler_0(this$static, type, handler){
  var l;
  l = dynamicCast($get_8(this$static.map, type), 109);
  if (!l) {
    l = $ArrayList(new ArrayList);
    $put_4(this$static.map, type, l);
  }
  setCheck(l.array, l.size++, handler);
}

function $fireEvent_6(this$static, event_0, isReverseOrder){
  var count, handler, i, type, l, l_0, l_1;
  type = event_0.getAssociatedType();
  count = (l = dynamicCast($get_8(this$static.map, type), 109) , !l?0:l.size);
  if (isReverseOrder) {
    for (i = count - 1; i >= 0; --i) {
      handler = (l_0 = dynamicCast($get_8(this$static.map, type), 109) , dynamicCast((checkIndex(i, l_0.size) , l_0.array[i]), 110));
      event_0.dispatch(handler);
    }
  }
   else {
    for (i = 0; i < count; ++i) {
      handler = (l_1 = dynamicCast($get_8(this$static.map, type), 109) , dynamicCast((checkIndex(i, l_1.size) , l_1.array[i]), 110));
      event_0.dispatch(handler);
    }
  }
}

function $removeHandler_1(this$static, eventKey, handler){
  var l, result;
  l = dynamicCast($get_8(this$static.map, eventKey), 109);
  result = !!l && $remove_20(l, handler);
  result && l.size == 0 && $remove_16(this$static.map, eventKey);
}

function getClass_296(){
  return Lcom_google_gwt_event_shared_HandlerManager$HandlerRegistry_2_classLit;
}

function HandlerManager$HandlerRegistry(){
}

_ = HandlerManager$HandlerRegistry.prototype = new Object_0;
_.getClass$ = getClass_296;
_.typeId$ = 0;
function $clinit_367(){
  $clinit_367 = nullMethod;
  $RequestBuilder$Method(new RequestBuilder$Method, 'DELETE');
  $RequestBuilder$Method(new RequestBuilder$Method, 'GET');
  $RequestBuilder$Method(new RequestBuilder$Method, 'HEAD');
  $RequestBuilder$Method(new RequestBuilder$Method, 'POST');
  $RequestBuilder$Method(new RequestBuilder$Method, 'PUT');
}

function $RequestBuilder$Method(this$static, name_0){
  this$static.name_0 = name_0;
  return this$static;
}

function getClass_297(){
  return Lcom_google_gwt_http_client_RequestBuilder$Method_2_classLit;
}

function toString_17(){
  return this.name_0;
}

function RequestBuilder$Method(){
}

_ = RequestBuilder$Method.prototype = new Object_0;
_.getClass$ = getClass_297;
_.toString$ = toString_17;
_.typeId$ = 0;
_.name_0 = null;
function $DateTimeFormat(this$static, pattern){
  $DateTimeFormat_0(this$static, pattern, $getDateTimeConstants(($clinit_376() , $clinit_376() , instance_8)));
  return this$static;
}

function $DateTimeFormat_0(this$static, pattern, dateTimeConstants){
  this$static.patternParts = $ArrayList(new ArrayList);
  this$static.pattern = pattern;
  this$static.dateTimeConstants = dateTimeConstants;
  $parsePattern(this$static, pattern);
  return this$static;
}

function $addPart(this$static, buf, count){
  var oldLength;
  if (buf.impl.string.length > 0) {
    $add_13(this$static.patternParts, $DateTimeFormat$PatternPart(new DateTimeFormat$PatternPart, buf.impl.string, count));
    oldLength = buf.impl.string.length;
    0 < oldLength?$replace(buf.impl, 0, oldLength, ''):0 > oldLength && $append_3(buf, initDim(_3C_classLit, 302, -1, 0 - oldLength, 1));
  }
}

function $format(this$static, date){
  var timeZone;
  timeZone = createTimeZone((date.checkJsDate() , date.jsdate.getTimezoneOffset()));
  return $format_0(this$static, date, timeZone);
}

function $format_0(this$static, date, timeZone){
  var ch, diff, i, j, keepDate, keepTime, n, toAppendTo, trailQuote;
  diff = ((date.checkJsDate() , date.jsdate.getTimezoneOffset()) - timeZone.standardOffset) * 60000;
  keepDate = $Date_1(new Date_0, add_2(fromDouble((date.checkJsDate() , date.jsdate.getTime())), fromInt(diff)));
  keepTime = keepDate;
  if ((keepDate.checkJsDate() , keepDate.jsdate.getTimezoneOffset()) != (date.checkJsDate() , date.jsdate.getTimezoneOffset())) {
    diff > 0?(diff -= 86400000):(diff += 86400000);
    keepTime = $Date_1(new Date_0, add_2(fromDouble((date.checkJsDate() , date.jsdate.getTime())), fromInt(diff)));
  }
  toAppendTo = $StringBuffer_0(new StringBuffer);
  n = this$static.pattern.length;
  for (i = 0; i < n;) {
    ch = this$static.pattern.charCodeAt(i);
    if (ch >= 97 && ch <= 122 || ch >= 65 && ch <= 90) {
      for (j = i + 1; j < n && this$static.pattern.charCodeAt(j) == ch; ++j) {
      }
      $subFormat(this$static, toAppendTo, ch, j - i, keepDate, keepTime, timeZone);
      i = j;
    }
     else if (ch == 39) {
      ++i;
      if (i < n && this$static.pattern.charCodeAt(i) == 39) {
        toAppendTo.impl.string += "'";
        ++i;
        continue;
      }
      trailQuote = false;
      while (!trailQuote) {
        j = i;
        while (j < n && this$static.pattern.charCodeAt(j) != 39) {
          ++j;
        }
        if (j >= n) {
          throw $IllegalArgumentException(new IllegalArgumentException, "Missing trailing '");
        }
        j + 1 < n && this$static.pattern.charCodeAt(j + 1) == 39?++j:(trailQuote = true);
        $append_5(toAppendTo, $substring_0(this$static.pattern, i, j));
        i = j + 1;
      }
    }
     else {
      toAppendTo.impl.string += String.fromCharCode(ch);
      ++i;
    }
  }
  return toAppendTo.impl.string;
}

function $formatFractionalSeconds(buf, count, date){
  var time, value;
  time = fromDouble((date.checkJsDate() , date.jsdate.getTime()));
  compare_1(time, P0_longLit) < 0?(value = 1000 - lowBits_0(mod(neg_0(time), P3e8_longLit))):(value = lowBits_0(mod(time, P3e8_longLit)));
  if (count == 1) {
    value = ~~((value + 50) / 100) < 9?~~((value + 50) / 100):9;
    buf.impl.string += String.fromCharCode(48 + value & 65535);
  }
   else if (count == 2) {
    value = ~~((value + 5) / 10) < 99?~~((value + 5) / 10):99;
    $zeroPaddingNumber(buf, value, 2);
  }
   else {
    $zeroPaddingNumber(buf, value, 3);
    count > 3 && $zeroPaddingNumber(buf, 0, count - 3);
  }
}

function $formatMonth(this$static, buf, count, date){
  var value;
  value = (date.checkJsDate() , date.jsdate.getMonth());
  switch (count) {
    case 5:
      $append_5(buf, $narrowMonths(this$static.dateTimeConstants)[value]);
      break;
    case 4:
      $append_5(buf, $months(this$static.dateTimeConstants)[value]);
      break;
    case 3:
      $append_5(buf, $shortMonths(this$static.dateTimeConstants)[value]);
      break;
    default:$zeroPaddingNumber(buf, value + 1, count);
  }
}

function $getNextCharCountInPattern(pattern, start){
  var ch, next;
  ch = pattern.charCodeAt(start);
  next = start + 1;
  while (next < pattern.length && pattern.charCodeAt(next) == ch) {
    ++next;
  }
  return next - start;
}

function $identifyAbutStart(this$static){
  var abut, i, len;
  abut = false;
  len = this$static.patternParts.size;
  for (i = 0; i < len; ++i) {
    if ($isNumeric(dynamicCast($get_9(this$static.patternParts, i), 111))) {
      if (!abut && i + 1 < len && $isNumeric(dynamicCast($get_9(this$static.patternParts, i + 1), 111))) {
        abut = true;
        dynamicCast($get_9(this$static.patternParts, i), 111).abutStart = true;
      }
    }
     else {
      abut = false;
    }
  }
}

function $isNumeric(part){
  var i;
  if (part.count <= 0) {
    return false;
  }
  i = 'MLydhHmsSDkK'.indexOf(fromCodePoint(part.text.charCodeAt(0)));
  return i > 1 || i >= 0 && part.count < 3;
}

function $matchString(text, start, data, pos){
  var bestMatch, bestMatchLength, count, i, length_0, textInLowerCase;
  count = data.length;
  bestMatchLength = 0;
  bestMatch = -1;
  textInLowerCase = text.substr(start, text.length - start).toLowerCase();
  for (i = 0; i < count; ++i) {
    length_0 = data[i].length;
    if (length_0 > bestMatchLength && textInLowerCase.indexOf(data[i].toLowerCase()) == 0) {
      bestMatch = i;
      bestMatchLength = length_0;
    }
  }
  bestMatch >= 0 && (pos[0] = start + bestMatchLength);
  return bestMatch;
}

function $parse(this$static, text, strict){
  var charsConsumed, curDate, date;
  curDate = $Date(new Date_0);
  date = $Date_0(new Date_0, (curDate.checkJsDate() , curDate.jsdate.getFullYear() - 1900), (curDate.checkJsDate() , curDate.jsdate.getMonth()), (curDate.checkJsDate() , curDate.jsdate.getDate()));
  charsConsumed = $parse_0(this$static, text, 0, date, strict);
  if (charsConsumed == 0 || charsConsumed < text.length) {
    throw $IllegalArgumentException(new IllegalArgumentException, text);
  }
  return date;
}

function $parse_0(this$static, text, start, date, strict){
  var abutPass, abutPat, abutStart, cal, count, i, parsePos, part, s;
  cal = $DateRecord(new DateRecord);
  parsePos = initValues(_3I_classLit, 328, -1, [start]);
  abutPat = -1;
  abutStart = 0;
  abutPass = 0;
  for (i = 0; i < this$static.patternParts.size; ++i) {
    part = dynamicCast($get_9(this$static.patternParts, i), 111);
    if (part.count > 0) {
      if (abutPat < 0 && part.abutStart) {
        abutPat = i;
        abutStart = start;
        abutPass = 0;
      }
      if (abutPat >= 0) {
        count = part.count;
        if (i == abutPat) {
          count -= abutPass++;
          if (count == 0) {
            return 0;
          }
        }
        if (!$subParse(this$static, text, parsePos, part, count, cal)) {
          i = abutPat - 1;
          parsePos[0] = abutStart;
          continue;
        }
      }
       else {
        abutPat = -1;
        if (!$subParse(this$static, text, parsePos, part, 0, cal)) {
          return 0;
        }
      }
    }
     else {
      abutPat = -1;
      if (part.text.charCodeAt(0) == 32) {
        s = parsePos[0];
        $skipSpace(text, parsePos);
        if (parsePos[0] > s) {
          continue;
        }
      }
       else if ($startsWith(text, part.text, parsePos[0])) {
        parsePos[0] += part.text.length;
        continue;
      }
      return 0;
    }
  }
  if (!$calcDate(cal, date, strict)) {
    return 0;
  }
  return parsePos[0] - start;
}

function $parseInt(text, pos){
  var ch, ind, ret;
  ret = 0;
  ind = pos[0];
  ch = text.charCodeAt(ind);
  while (ch >= 48 && ch <= 57) {
    ret = ret * 10 + (ch - 48);
    ++ind;
    if (ind >= text.length) {
      break;
    }
    ch = text.charCodeAt(ind);
  }
  ind > pos[0]?(pos[0] = ind):(ret = -1);
  return ret;
}

function $parsePattern(this$static, pattern){
  var buf, ch, count, i, inQuote;
  buf = $StringBuffer_0(new StringBuffer);
  inQuote = false;
  for (i = 0; i < pattern.length; ++i) {
    ch = pattern.charCodeAt(i);
    if (ch == 32) {
      $addPart(this$static, buf, 0);
      buf.impl.string += ' ';
      $addPart(this$static, buf, 0);
      while (i + 1 < pattern.length && pattern.charCodeAt(i + 1) == 32) {
        ++i;
      }
      continue;
    }
    if (inQuote) {
      if (ch == 39) {
        if (i + 1 < pattern.length && pattern.charCodeAt(i + 1) == 39) {
          buf.impl.string += String.fromCharCode(ch);
          ++i;
        }
         else {
          inQuote = false;
        }
      }
       else {
        buf.impl.string += String.fromCharCode(ch);
      }
      continue;
    }
    if ('GyMLdkHmsSEcDahKzZv'.indexOf(fromCodePoint(ch)) > 0) {
      $addPart(this$static, buf, 0);
      buf.impl.string += String.fromCharCode(ch);
      count = $getNextCharCountInPattern(pattern, i);
      $addPart(this$static, buf, count);
      i += count - 1;
      continue;
    }
    if (ch == 39) {
      if (i + 1 < pattern.length && pattern.charCodeAt(i + 1) == 39) {
        buf.impl.string += "'";
        ++i;
      }
       else {
        inQuote = true;
      }
    }
     else {
      buf.impl.string += String.fromCharCode(ch);
    }
  }
  $addPart(this$static, buf, 0);
  $identifyAbutStart(this$static);
}

function $parseTimeZoneOffset(text, pos, cal){
  var offset, sign, st, value;
  if (pos[0] >= text.length) {
    cal.tzOffset = 0;
    return true;
  }
  switch (text.charCodeAt(pos[0])) {
    case 43:
      sign = 1;
      break;
    case 45:
      sign = -1;
      break;
    default:cal.tzOffset = 0;
      return true;
  }
  ++pos[0];
  st = pos[0];
  value = $parseInt(text, pos);
  if (value == 0 && pos[0] == st) {
    return false;
  }
  if (pos[0] < text.length && text.charCodeAt(pos[0]) == 58) {
    offset = value * 60;
    ++pos[0];
    st = pos[0];
    value = $parseInt(text, pos);
    if (value == 0 && pos[0] == st) {
      return false;
    }
    offset += value;
  }
   else {
    offset = value;
    offset < 24 && pos[0] - st <= 2?(offset *= 60):(offset = offset % 100 + ~~(offset / 100) * 60);
  }
  offset *= sign;
  cal.tzOffset = -offset;
  return true;
}

function $skipSpace(text, pos){
  while (pos[0] < text.length && ' \t\r\n'.indexOf(fromCodePoint(text.charCodeAt(pos[0]))) >= 0) {
    ++pos[0];
  }
}

function $subFormat(this$static, buf, ch, count, adjustedDate, adjustedTime, timezone){
  var value, value_0, value_1, value_2, value_3, value_4, value_5, value_6, value_7, value_8, value_9, value_10, value_11;
  switch (ch) {
    case 71:
      value = (adjustedDate.checkJsDate() , adjustedDate.jsdate.getFullYear() - 1900) >= -1900?1:0;
      count >= 4?$append_5(buf, $eraNames(this$static.dateTimeConstants)[value]):$append_5(buf, $eras(this$static.dateTimeConstants)[value]);
      break;
    case 121:
      value_0 = (adjustedDate.checkJsDate() , adjustedDate.jsdate.getFullYear() - 1900) + 1900;
      value_0 < 0 && (value_0 = -value_0);
      count == 2?$zeroPaddingNumber(buf, value_0 % 100, 2):(buf.impl.string += value_0 , undefined);
      break;
    case 77:
      $formatMonth(this$static, buf, count, adjustedDate);
      break;
    case 107:
      value_1 = (adjustedTime.checkJsDate() , adjustedTime.jsdate.getHours());
      value_1 == 0?$zeroPaddingNumber(buf, 24, count):$zeroPaddingNumber(buf, value_1, count);
      break;
    case 83:
      $formatFractionalSeconds(buf, count, adjustedTime);
      break;
    case 69:
      value_2 = (adjustedDate.checkJsDate() , adjustedDate.jsdate.getDay());
      count == 5?$append_5(buf, $narrowWeekdays(this$static.dateTimeConstants)[value_2]):count == 4?$append_5(buf, $weekdays(this$static.dateTimeConstants)[value_2]):$append_5(buf, $shortWeekdays(this$static.dateTimeConstants)[value_2]);
      break;
    case 97:
      (adjustedTime.checkJsDate() , adjustedTime.jsdate.getHours()) >= 12 && (adjustedTime.checkJsDate() , adjustedTime.jsdate.getHours()) < 24?$append_5(buf, $ampms(this$static.dateTimeConstants)[1]):$append_5(buf, $ampms(this$static.dateTimeConstants)[0]);
      break;
    case 104:
      value_3 = (adjustedTime.checkJsDate() , adjustedTime.jsdate.getHours()) % 12;
      value_3 == 0?$zeroPaddingNumber(buf, 12, count):$zeroPaddingNumber(buf, value_3, count);
      break;
    case 75:
      value_4 = (adjustedTime.checkJsDate() , adjustedTime.jsdate.getHours()) % 12;
      $zeroPaddingNumber(buf, value_4, count);
      break;
    case 72:
      value_5 = (adjustedTime.checkJsDate() , adjustedTime.jsdate.getHours());
      $zeroPaddingNumber(buf, value_5, count);
      break;
    case 99:
      value_6 = (adjustedDate.checkJsDate() , adjustedDate.jsdate.getDay());
      count == 5?$append_5(buf, $standaloneNarrowWeekdays(this$static.dateTimeConstants)[value_6]):count == 4?$append_5(buf, $standaloneWeekdays(this$static.dateTimeConstants)[value_6]):count == 3?$append_5(buf, $standaloneShortWeekdays(this$static.dateTimeConstants)[value_6]):$zeroPaddingNumber(buf, value_6, 1);
      break;
    case 76:
      value_7 = (adjustedDate.checkJsDate() , adjustedDate.jsdate.getMonth());
      count == 5?$append_5(buf, $standaloneNarrowMonths(this$static.dateTimeConstants)[value_7]):count == 4?$append_5(buf, $standaloneMonths(this$static.dateTimeConstants)[value_7]):count == 3?$append_5(buf, $standaloneShortMonths(this$static.dateTimeConstants)[value_7]):$zeroPaddingNumber(buf, value_7 + 1, count);
      break;
    case 81:
      value_8 = ~~((adjustedDate.checkJsDate() , adjustedDate.jsdate.getMonth()) / 3);
      count < 4?$append_5(buf, $shortQuarters(this$static.dateTimeConstants)[value_8]):$append_5(buf, $quarters(this$static.dateTimeConstants)[value_8]);
      break;
    case 100:
      value_9 = (adjustedDate.checkJsDate() , adjustedDate.jsdate.getDate());
      $zeroPaddingNumber(buf, value_9, count);
      break;
    case 109:
      value_10 = (adjustedTime.checkJsDate() , adjustedTime.jsdate.getMinutes());
      $zeroPaddingNumber(buf, value_10, count);
      break;
    case 115:
      value_11 = (adjustedTime.checkJsDate() , adjustedTime.jsdate.getSeconds());
      $zeroPaddingNumber(buf, value_11, count);
      break;
    case 122:
      count < 4?$append_5(buf, timezone.tzNames[0]):$append_5(buf, timezone.tzNames[1]);
      break;
    case 118:
      $append_5(buf, timezone.timezoneID);
      break;
    case 90:
      count < 4?$append_5(buf, $getRFCTimeZoneString(timezone)):$append_5(buf, composeGMTString(timezone.standardOffset));
      break;
    default:return false;
  }
  return true;
}

function $subParse(this$static, text, pos, part, digitCount, cal){
  var ch, start, value;
  $skipSpace(text, pos);
  start = pos[0];
  ch = part.text.charCodeAt(0);
  value = -1;
  if ($isNumeric(part)) {
    if (digitCount > 0) {
      if (start + digitCount > text.length) {
        return false;
      }
      value = $parseInt(text.substr(0, start + digitCount - 0), pos);
    }
     else {
      value = $parseInt(text, pos);
    }
  }
  switch (ch) {
    case 71:
      value = $matchString(text, start, $eras(this$static.dateTimeConstants), pos);
      cal.era = value;
      return true;
    case 77:
      return $subParseMonth(this$static, text, pos, cal, value, start);
    case 76:
      return $subParseStandaloneMonth(this$static, text, pos, cal, value, start);
    case 69:
      return $subParseDayOfWeek(this$static, text, pos, start, cal);
    case 99:
      return $subParseStandaloneDay(this$static, text, pos, start, cal);
    case 97:
      value = $matchString(text, start, $ampms(this$static.dateTimeConstants), pos);
      cal.ampm = value;
      return true;
    case 121:
      return $subParseYear(text, pos, start, value, part, cal);
    case 100:
      if (value <= 0) {
        return false;
      }

      cal.dayOfMonth = value;
      return true;
    case 83:
      return $subParseFractionalSeconds(value, start, pos[0], cal);
    case 104:
      value == 12 && (value = 0);
    case 75:
    case 72:
      cal.hours = value;
      return true;
    case 107:
      cal.hours = value;
      return true;
    case 109:
      cal.minutes = value;
      return true;
    case 115:
      cal.seconds = value;
      return true;
    case 122:
    case 90:
    case 118:
      return $subParseTimeZoneInGMT(text, start, pos, cal);
    default:return false;
  }
}

function $subParseDayOfWeek(this$static, text, pos, start, cal){
  var value;
  value = $matchString(text, start, $weekdays(this$static.dateTimeConstants), pos);
  value < 0 && (value = $matchString(text, start, $shortWeekdays(this$static.dateTimeConstants), pos));
  if (value < 0) {
    return false;
  }
  cal.dayOfWeek = value;
  return true;
}

function $subParseFractionalSeconds(value, start, end, cal){
  var a, i;
  i = end - start;
  if (i < 3) {
    while (i < 3) {
      value *= 10;
      ++i;
    }
  }
   else {
    a = 1;
    while (i > 3) {
      a *= 10;
      --i;
    }
    value = ~~((value + (a >> 1)) / a);
  }
  cal.milliseconds = value;
  return true;
}

function $subParseMonth(this$static, text, pos, cal, value, start){
  if (value < 0) {
    value = $matchString(text, start, $months(this$static.dateTimeConstants), pos);
    value < 0 && (value = $matchString(text, start, $shortMonths(this$static.dateTimeConstants), pos));
    if (value < 0) {
      return false;
    }
    cal.month = value;
    return true;
  }
   else if (value > 0) {
    cal.month = value - 1;
    return true;
  }
  return false;
}

function $subParseStandaloneDay(this$static, text, pos, start, cal){
  var value;
  value = $matchString(text, start, $standaloneWeekdays(this$static.dateTimeConstants), pos);
  value < 0 && (value = $matchString(text, start, $standaloneShortWeekdays(this$static.dateTimeConstants), pos));
  if (value < 0) {
    return false;
  }
  cal.dayOfWeek = value;
  return true;
}

function $subParseStandaloneMonth(this$static, text, pos, cal, value, start){
  if (value < 0) {
    value = $matchString(text, start, $standaloneMonths(this$static.dateTimeConstants), pos);
    value < 0 && (value = $matchString(text, start, $standaloneShortMonths(this$static.dateTimeConstants), pos));
    if (value < 0) {
      return false;
    }
    cal.month = value;
    return true;
  }
   else if (value > 0) {
    cal.month = value - 1;
    return true;
  }
  return false;
}

function $subParseTimeZoneInGMT(text, start, pos, cal){
  if ($startsWith(text, 'GMT', start)) {
    pos[0] = start + 3;
    return $parseTimeZoneOffset(text, pos, cal);
  }
  return $parseTimeZoneOffset(text, pos, cal);
}

function $subParseYear(text, pos, start, value, part, cal){
  var ambiguousTwoDigitYear, ch, date, defaultCenturyStartYear;
  ch = 32;
  if (value < 0) {
    ch = text.charCodeAt(pos[0]);
    if (ch != 43 && ch != 45) {
      return false;
    }
    ++pos[0];
    value = $parseInt(text, pos);
    if (value < 0) {
      return false;
    }
    ch == 45 && (value = -value);
  }
  if (ch == 32 && pos[0] - start == 2 && part.count == 2) {
    date = $Date(new Date_0);
    defaultCenturyStartYear = (date.checkJsDate() , date.jsdate.getFullYear() - 1900) + 1900 - 80;
    ambiguousTwoDigitYear = defaultCenturyStartYear % 100;
    cal.ambiguousYear = value == ambiguousTwoDigitYear;
    value += ~~(defaultCenturyStartYear / 100) * 100 + (value < ambiguousTwoDigitYear?100:0);
  }
  cal.year = value;
  return true;
}

function $zeroPaddingNumber(buf, value, minWidth){
  var b, i;
  b = 10;
  for (i = 0; i < minWidth - 1; ++i) {
    value < b && (buf.impl.string += '0' , undefined);
    b *= 10;
  }
  buf.impl.string += value;
}

function getClass_298(){
  return Lcom_google_gwt_i18n_client_DateTimeFormat_2_classLit;
}

function getShortDateFormat(){
  var pattern;
  if (!cachedShortDateFormat) {
    pattern = $dateFormats($getDateTimeConstants(($clinit_376() , $clinit_376() , instance_8)))[3];
    cachedShortDateFormat = $DateTimeFormat(new DateTimeFormat, pattern);
  }
  return cachedShortDateFormat;
}

function DateTimeFormat(){
}

_ = DateTimeFormat.prototype = new Object_0;
_.getClass$ = getClass_298;
_.typeId$ = 0;
_.dateTimeConstants = null;
_.pattern = null;
var cachedShortDateFormat = null;
function $DateTimeFormat$PatternPart(this$static, txt, cnt){
  this$static.text = txt;
  this$static.count = cnt;
  this$static.abutStart = false;
  return this$static;
}

function getClass_299(){
  return Lcom_google_gwt_i18n_client_DateTimeFormat$PatternPart_2_classLit;
}

function DateTimeFormat$PatternPart(){
}

_ = DateTimeFormat$PatternPart.prototype = new Object_0;
_.getClass$ = getClass_299;
_.typeId$ = 219;
_.abutStart = false;
_.count = 0;
_.text = null;
function $clinit_376(){
  $clinit_376 = nullMethod;
  instance_8 = ($clinit_376() , new LocaleInfo);
}

function $ensureNumberConstants(this$static){
  !this$static.numberConstants && (this$static.numberConstants = new NumberConstantsImpl_en);
}

function $getDateTimeConstants(this$static){
  !this$static.dateTimeConstants && (this$static.dateTimeConstants = $DateTimeConstantsImpl_en(new DateTimeConstantsImpl_en));
  return this$static.dateTimeConstants;
}

function getClass_300(){
  return Lcom_google_gwt_i18n_client_LocaleInfo_2_classLit;
}

function LocaleInfo(){
}

_ = LocaleInfo.prototype = new Object_0;
_.getClass$ = getClass_300;
_.typeId$ = 0;
_.dateTimeConstants = null;
_.numberConstants = null;
var instance_8;
function $clinit_379(){
  $clinit_379 = nullMethod;
  $ensureNumberConstants(($clinit_376() , $clinit_376() , instance_8));
}

function $NumberFormat(this$static, pattern, cdata, userSuppliedPattern){
  $clinit_379();
  if (!cdata) {
    throw $IllegalArgumentException(new IllegalArgumentException, 'Unknown currency code');
  }
  this$static.pattern = pattern;
  this$static.currencyCode = cdata[0];
  this$static.currencySymbol = cdata[1];
  $parsePattern_0(this$static, this$static.pattern);
  if (!userSuppliedPattern && this$static.isCurrencyFormat) {
    this$static.minimumFractionDigits = cdata[2] & 7;
    this$static.maximumFractionDigits = this$static.minimumFractionDigits;
  }
  return this$static;
}

function $NumberFormat_0(this$static, pattern, cdata, userSuppliedPattern){
  $clinit_379();
  $NumberFormat(this$static, pattern, cdata, userSuppliedPattern);
  return this$static;
}

function $getDigit(ch){
  if (48 <= ch && ch <= 57) {
    return ch - 48;
  }
   else {
    return 48 <= ch && ch <= 57?ch - 48:-1;
  }
}

function $parse_1(this$static, text){
  var pos, result;
  pos = initValues(_3I_classLit, 328, -1, [0]);
  result = $parse_2(this$static, text, pos);
  if (pos[0] == 0 || pos[0] != text.length) {
    throw $NumberFormatException(new NumberFormatException, text);
  }
  return result;
}

--></script>
<script><!--
function $parse_2(this$static, text, inOutPos){
  var gotNegative, gotNegativePrefix, gotNegativeSuffix, gotPositive, gotPositivePrefix, gotPositiveSuffix, ret, tempPos, valueOnly;
  ret = 0;
  gotPositivePrefix = $startsWith(text, this$static.positivePrefix, inOutPos[0]);
  gotNegativePrefix = $startsWith(text, this$static.negativePrefix, inOutPos[0]);
  gotPositiveSuffix = $endsWith(text, this$static.positiveSuffix);
  gotNegativeSuffix = $endsWith(text, this$static.negativeSuffix);
  gotPositive = gotPositivePrefix && gotPositiveSuffix;
  gotNegative = gotNegativePrefix && gotNegativeSuffix;
  if (gotPositive && gotNegative) {
    this$static.positivePrefix.length > this$static.negativePrefix.length?(gotNegative = false):this$static.positivePrefix.length < this$static.negativePrefix.length?(gotPositive = false):this$static.positiveSuffix.length > this$static.negativeSuffix.length?(gotNegative = false):this$static.positiveSuffix.length < this$static.negativeSuffix.length?(gotPositive = false):(gotNegative = false);
  }
   else if (!gotPositive && !gotNegative) {
    throw $NumberFormatException(new NumberFormatException, text + ' does not have either positive or negative affixes');
  }
  valueOnly = null;
  if (gotPositive) {
    inOutPos[0] += this$static.positivePrefix.length;
    valueOnly = $substring_0(text, inOutPos[0], text.length - this$static.positiveSuffix.length);
  }
   else {
    inOutPos[0] += this$static.negativePrefix.length;
    valueOnly = $substring_0(text, inOutPos[0], text.length - this$static.negativeSuffix.length);
  }
  if ($equals_4(valueOnly, '\u221E')) {
    inOutPos[0] += 1;
    ret = Infinity;
  }
   else if ($equals_4(valueOnly, 'NaN')) {
    inOutPos[0] += 3;
    ret = NaN;
  }
   else {
    tempPos = initValues(_3I_classLit, 328, -1, [0]);
    ret = $parseNumber(this$static, valueOnly, tempPos);
    inOutPos[0] += tempPos[0];
  }
  gotPositive?(inOutPos[0] += this$static.positiveSuffix.length):gotNegative && (inOutPos[0] += this$static.negativeSuffix.length);
  gotNegative && (ret = -ret);
  return ret;
}

function $parseAffix(this$static, pattern, start, affix, inNegativePattern){
  var ch, inQuote, len, pos;
  $replace_1(affix, 0, affix.impl.string.length, '');
  inQuote = false;
  len = pattern.length;
  for (pos = start; pos < len; ++pos) {
    ch = pattern.charCodeAt(pos);
    if (ch == 39) {
      if (pos + 1 < len && pattern.charCodeAt(pos + 1) == 39) {
        ++pos;
        affix.impl.string += "'";
      }
       else {
        inQuote = !inQuote;
      }
      continue;
    }
    if (inQuote) {
      affix.impl.string += String.fromCharCode(ch);
    }
     else {
      switch (ch) {
        case 35:
        case 48:
        case 44:
        case 46:
        case 59:
          return pos - start;
        case 164:
          this$static.isCurrencyFormat = true;
          if (pos + 1 < len && pattern.charCodeAt(pos + 1) == 164) {
            ++pos;
            $append_5(affix, this$static.currencyCode);
          }
           else {
            $append_5(affix, this$static.currencySymbol);
          }

          break;
        case 37:
          if (!inNegativePattern) {
            if (this$static.multiplier != 1) {
              throw $IllegalArgumentException(new IllegalArgumentException, 'Too many percent/per mille characters in pattern "' + pattern + '"');
            }
            this$static.multiplier = 100;
          }

          affix.impl.string += '%';
          break;
        case 8240:
          if (!inNegativePattern) {
            if (this$static.multiplier != 1) {
              throw $IllegalArgumentException(new IllegalArgumentException, 'Too many percent/per mille characters in pattern "' + pattern + '"');
            }
            this$static.multiplier = 1000;
          }

          affix.impl.string += '\u2030';
          break;
        case 45:
          affix.impl.string += '-';
          break;
        default:affix.impl.string += String.fromCharCode(ch);
      }
    }
  }
  return len - start;
}

function $parseNumber(this$static, text, pos){
  var $e0, ch, decimal, digit, grouping, normalizedText, ret, sawDecimal, sawDigit, sawExponent, scale;
  sawDecimal = false;
  sawExponent = false;
  sawDigit = false;
  scale = 1;
  decimal = this$static.isCurrencyFormat?'.':'.';
  grouping = this$static.isCurrencyFormat?',':',';
  normalizedText = $StringBuffer(new StringBuffer);
  for (; pos[0] < text.length; ++pos[0]) {
    ch = text.charCodeAt(pos[0]);
    digit = $getDigit(ch);
    if (digit >= 0 && digit <= 9) {
      normalizedText.impl.string += String.fromCharCode(digit + 48 & 65535);
      sawDigit = true;
    }
     else if (ch == decimal.charCodeAt(0)) {
      if (sawDecimal || sawExponent) {
        break;
      }
      normalizedText.impl.string += '.';
      sawDecimal = true;
    }
     else if (ch == grouping.charCodeAt(0)) {
      if (sawDecimal || sawExponent) {
        break;
      }
      continue;
    }
     else if (ch == 69) {
      if (sawExponent) {
        break;
      }
      normalizedText.impl.string += 'E';
      sawExponent = true;
    }
     else if (ch == 43 || ch == 45) {
      normalizedText.impl.string += String.fromCharCode(ch);
    }
     else if (ch == 37) {
      if (scale != 1) {
        break;
      }
      scale = 100;
      if (sawDigit) {
        ++pos[0];
        break;
      }
    }
     else if (ch == 8240) {
      if (scale != 1) {
        break;
      }
      scale = 1000;
      if (sawDigit) {
        ++pos[0];
        break;
      }
    }
     else {
      break;
    }
  }
  try {
    ret = __parseAndValidateDouble(normalizedText.impl.string);
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (instanceOf($e0, 112)) {
      throw $NumberFormatException(new NumberFormatException, text);
    }
     else 
      throw $e0;
  }
  ret = ret / scale;
  return ret;
}

function $parsePattern_0(this$static, pattern){
  var affix, pos;
  pos = 0;
  affix = $StringBuffer(new StringBuffer);
  pos += $parseAffix(this$static, pattern, pos, affix, false);
  this$static.positivePrefix = affix.impl.string;
  pos += $parseTrunk(this$static, pattern, pos, false);
  pos += $parseAffix(this$static, pattern, pos, affix, false);
  this$static.positiveSuffix = affix.impl.string;
  if (pos < pattern.length && pattern.charCodeAt(pos) == 59) {
    ++pos;
    pos += $parseAffix(this$static, pattern, pos, affix, true);
    this$static.negativePrefix = affix.impl.string;
    pos += $parseTrunk(this$static, pattern, pos, true);
    pos += $parseAffix(this$static, pattern, pos, affix, true);
    this$static.negativeSuffix = affix.impl.string;
  }
   else {
    this$static.negativePrefix = '-' + this$static.positivePrefix;
    this$static.negativeSuffix = this$static.positiveSuffix;
  }
}

function $parseTrunk(this$static, pattern, start, ignorePattern){
  var ch, decimalPos, digitLeftCount, digitRightCount, effectiveDecimalPos, groupingCount, len, loop, n, pos, totalDigits, zeroDigitCount;
  decimalPos = -1;
  digitLeftCount = 0;
  zeroDigitCount = 0;
  digitRightCount = 0;
  groupingCount = -1;
  len = pattern.length;
  pos = start;
  loop = true;
  for (; pos < len && loop; ++pos) {
    ch = pattern.charCodeAt(pos);
    switch (ch) {
      case 35:
        zeroDigitCount > 0?++digitRightCount:++digitLeftCount;
        groupingCount >= 0 && decimalPos < 0 && ++groupingCount;
        break;
      case 48:
        if (digitRightCount > 0) {
          throw $IllegalArgumentException(new IllegalArgumentException, "Unexpected '0' in pattern \"" + pattern + '"');
        }

        ++zeroDigitCount;
        groupingCount >= 0 && decimalPos < 0 && ++groupingCount;
        break;
      case 44:
        groupingCount = 0;
        break;
      case 46:
        if (decimalPos >= 0) {
          throw $IllegalArgumentException(new IllegalArgumentException, 'Multiple decimal separators in pattern "' + pattern + '"');
        }

        decimalPos = digitLeftCount + zeroDigitCount + digitRightCount;
        break;
      case 69:
        if (!ignorePattern) {
          if (this$static.useExponentialNotation) {
            throw $IllegalArgumentException(new IllegalArgumentException, 'Multiple exponential symbols in pattern "' + pattern + '"');
          }
          this$static.useExponentialNotation = true;
          this$static.minExponentDigits = 0;
        }

        while (pos + 1 < len && pattern.charCodeAt(pos + 1) == 48) {
          ++pos;
          !ignorePattern && ++this$static.minExponentDigits;
        }

        if (!ignorePattern && digitLeftCount + zeroDigitCount < 1 || this$static.minExponentDigits < 1) {
          throw $IllegalArgumentException(new IllegalArgumentException, 'Malformed exponential pattern "' + pattern + '"');
        }

        loop = false;
        break;
      default:--pos;
        loop = false;
    }
  }
  if (zeroDigitCount == 0 && digitLeftCount > 0 && decimalPos >= 0) {
    n = decimalPos;
    n == 0 && ++n;
    digitRightCount = digitLeftCount - n;
    digitLeftCount = n - 1;
    zeroDigitCount = 1;
  }
  if (decimalPos < 0 && digitRightCount > 0 || decimalPos >= 0 && (decimalPos < digitLeftCount || decimalPos > digitLeftCount + zeroDigitCount) || groupingCount == 0) {
    throw $IllegalArgumentException(new IllegalArgumentException, 'Malformed pattern "' + pattern + '"');
  }
  if (ignorePattern) {
    return pos - start;
  }
  totalDigits = digitLeftCount + zeroDigitCount + digitRightCount;
  this$static.maximumFractionDigits = decimalPos >= 0?totalDigits - decimalPos:0;
  if (decimalPos >= 0) {
    this$static.minimumFractionDigits = digitLeftCount + zeroDigitCount - decimalPos;
    this$static.minimumFractionDigits < 0 && (this$static.minimumFractionDigits = 0);
  }
  effectiveDecimalPos = decimalPos >= 0?decimalPos:totalDigits;
  this$static.minimumIntegerDigits = effectiveDecimalPos - digitLeftCount;
  this$static.useExponentialNotation && this$static.maximumFractionDigits == 0 && this$static.minimumIntegerDigits == 0 && (this$static.minimumIntegerDigits = 1);
  return pos - start;
}

function getClass_301(){
  return Lcom_google_gwt_i18n_client_NumberFormat_2_classLit;
}

function NumberFormat(){
}

_ = NumberFormat.prototype = new Object_0;
_.getClass$ = getClass_301;
_.typeId$ = 0;
_.currencyCode = null;
_.currencySymbol = null;
_.isCurrencyFormat = false;
_.maximumFractionDigits = 3;
_.minExponentDigits = 0;
_.minimumFractionDigits = 0;
_.minimumIntegerDigits = 1;
_.multiplier = 1;
_.negativePrefix = '-';
_.negativeSuffix = '';
_.pattern = null;
_.positivePrefix = '';
_.positiveSuffix = '';
_.useExponentialNotation = false;
var cachedDecimalFormat = null;
function $getRFCTimeZoneString(this$static){
  var data, offset;
  offset = -this$static.standardOffset;
  data = initValues(_3C_classLit, 302, -1, [43, 48, 48, 48, 48]);
  if (offset < 0) {
    data[0] = 45;
    offset = -offset;
  }
  data[1] += ~~(~~(offset / 60) / 10);
  data[2] += ~~(offset / 60) % 10;
  data[3] += ~~(offset % 60 / 10);
  data[4] += offset % 10;
  return String.fromCharCode.apply(null, data);
}

function composeGMTString(offset){
  var data;
  data = initValues(_3C_classLit, 302, -1, [71, 77, 84, 45, 48, 48, 58, 48, 48]);
  if (offset <= 0) {
    data[3] = 43;
    offset = -offset;
  }
  data[4] += ~~(~~(offset / 60) / 10);
  data[5] += ~~(offset / 60) % 10;
  data[7] += ~~(offset % 60 / 10);
  data[8] += offset % 10;
  return String.fromCharCode.apply(null, data);
}

function composePOSIXTimeZoneID(offset){
  var str;
  if (offset == 0) {
    return 'Etc/GMT';
  }
  if (offset < 0) {
    offset = -offset;
    str = 'Etc/GMT-';
  }
   else {
    str = 'Etc/GMT+';
  }
  return str + offsetDisplay(offset);
}

function composeUTCString(offset){
  var str;
  if (offset == 0) {
    return 'UTC';
  }
  if (offset < 0) {
    offset = -offset;
    str = 'UTC+';
  }
   else {
    str = 'UTC-';
  }
  return str + offsetDisplay(offset);
}

function createTimeZone(timeZoneOffsetInMinutes){
  var tz;
  tz = new TimeZone;
  tz.standardOffset = timeZoneOffsetInMinutes;
  tz.timezoneID = composePOSIXTimeZoneID(timeZoneOffsetInMinutes);
  tz.tzNames = initDim(_3Ljava_lang_String_2_classLit, 340, 1, 2, 0);
  tz.tzNames[0] = composeUTCString(timeZoneOffsetInMinutes);
  tz.tzNames[1] = composeUTCString(timeZoneOffsetInMinutes);
  return tz;
}

function getClass_302(){
  return Lcom_google_gwt_i18n_client_TimeZone_2_classLit;
}

function offsetDisplay(offset){
  var hour, mins;
  hour = ~~(offset / 60);
  mins = offset % 60;
  if (mins == 0) {
    return '' + hour;
  }
  return '' + hour + ':' + mins;
}

function TimeZone(){
}

_ = TimeZone.prototype = new Object_0;
_.getClass$ = getClass_302;
_.typeId$ = 0;
_.standardOffset = 0;
_.timezoneID = null;
_.tzNames = null;
function $DateTimeConstantsImpl_en(this$static){
  this$static.cache = $HashMap(new HashMap);
  return this$static;
}

function $ampms(this$static){
  var args, writer;
  args = dynamicCast($get_8(this$static.cache, 'ampms'), 113);
  if (args == null) {
    writer = initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['AM', 'PM']);
    $put_4(this$static.cache, 'ampms', writer);
    return writer;
  }
   else {
    return args;
  }
}

function $dateFormats(this$static){
  var args, writer;
  args = dynamicCast($get_8(this$static.cache, 'dateFormats'), 113);
  if (args == null) {
    writer = initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['EEEE, MMMM d, yyyy', 'MMMM d, yyyy', 'MMM d, yyyy', 'M/d/yy']);
    $put_4(this$static.cache, 'dateFormats', writer);
    return writer;
  }
   else {
    return args;
  }
}

function $eraNames(this$static){
  var args, writer;
  args = dynamicCast($get_8(this$static.cache, 'eraNames'), 113);
  if (args == null) {
    writer = initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['Before Christ', 'Anno Domini']);
    $put_4(this$static.cache, 'eraNames', writer);
    return writer;
  }
   else {
    return args;
  }
}

function $eras(this$static){
  var args, writer;
  args = dynamicCast($get_8(this$static.cache, 'eras'), 113);
  if (args == null) {
    writer = initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['BC', 'AD']);
    $put_4(this$static.cache, 'eras', writer);
    return writer;
  }
   else {
    return args;
  }
}

function $months(this$static){
  var args, writer;
  args = dynamicCast($get_8(this$static.cache, 'months'), 113);
  if (args == null) {
    writer = initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']);
    $put_4(this$static.cache, 'months', writer);
    return writer;
  }
   else {
    return args;
  }
}

function $narrowMonths(this$static){
  var args, writer;
  args = dynamicCast($get_8(this$static.cache, 'narrowMonths'), 113);
  if (args == null) {
    writer = initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D']);
    $put_4(this$static.cache, 'narrowMonths', writer);
    return writer;
  }
   else {
    return args;
  }
}

function $narrowWeekdays(this$static){
  var args, writer;
  args = dynamicCast($get_8(this$static.cache, 'narrowWeekdays'), 113);
  if (args == null) {
    writer = initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['S', 'M', 'T', 'W', 'T', 'F', 'S']);
    $put_4(this$static.cache, 'narrowWeekdays', writer);
    return writer;
  }
   else {
    return args;
  }
}

function $quarters(this$static){
  var args, writer;
  args = dynamicCast($get_8(this$static.cache, 'quarters'), 113);
  if (args == null) {
    writer = initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['1st quarter', '2nd quarter', '3rd quarter', '4th quarter']);
    $put_4(this$static.cache, 'quarters', writer);
    return writer;
  }
   else {
    return args;
  }
}

function $shortMonths(this$static){
  var args, writer;
  args = dynamicCast($get_8(this$static.cache, 'shortMonths'), 113);
  if (args == null) {
    writer = initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']);
    $put_4(this$static.cache, 'shortMonths', writer);
    return writer;
  }
   else {
    return args;
  }
}

function $shortQuarters(this$static){
  var args, writer;
  args = dynamicCast($get_8(this$static.cache, 'shortQuarters'), 113);
  if (args == null) {
    writer = initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['Q1', 'Q2', 'Q3', 'Q4']);
    $put_4(this$static.cache, 'shortQuarters', writer);
    return writer;
  }
   else {
    return args;
  }
}

function $shortWeekdays(this$static){
  var args, writer;
  args = dynamicCast($get_8(this$static.cache, 'shortWeekdays'), 113);
  if (args == null) {
    writer = initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']);
    $put_4(this$static.cache, 'shortWeekdays', writer);
    return writer;
  }
   else {
    return args;
  }
}

function $standaloneMonths(this$static){
  var args, writer;
  args = dynamicCast($get_8(this$static.cache, 'standaloneMonths'), 113);
  if (args == null) {
    writer = initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']);
    $put_4(this$static.cache, 'standaloneMonths', writer);
    return writer;
  }
   else {
    return args;
  }
}

function $standaloneNarrowMonths(this$static){
  var args, writer;
  args = dynamicCast($get_8(this$static.cache, 'standaloneNarrowMonths'), 113);
  if (args == null) {
    writer = initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D']);
    $put_4(this$static.cache, 'standaloneNarrowMonths', writer);
    return writer;
  }
   else {
    return args;
  }
}

function $standaloneNarrowWeekdays(this$static){
  var args, writer;
  args = dynamicCast($get_8(this$static.cache, 'standaloneNarrowWeekdays'), 113);
  if (args == null) {
    writer = initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['S', 'M', 'T', 'W', 'T', 'F', 'S']);
    $put_4(this$static.cache, 'standaloneNarrowWeekdays', writer);
    return writer;
  }
   else {
    return args;
  }
}

function $standaloneShortMonths(this$static){
  var args, writer;
  args = dynamicCast($get_8(this$static.cache, 'standaloneShortMonths'), 113);
  if (args == null) {
    writer = initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']);
    $put_4(this$static.cache, 'standaloneShortMonths', writer);
    return writer;
  }
   else {
    return args;
  }
}

function $standaloneShortWeekdays(this$static){
  var args, writer;
  args = dynamicCast($get_8(this$static.cache, 'standaloneShortWeekdays'), 113);
  if (args == null) {
    writer = initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']);
    $put_4(this$static.cache, 'standaloneShortWeekdays', writer);
    return writer;
  }
   else {
    return args;
  }
}

function $standaloneWeekdays(this$static){
  var args, writer;
  args = dynamicCast($get_8(this$static.cache, 'standaloneWeekdays'), 113);
  if (args == null) {
    writer = initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']);
    $put_4(this$static.cache, 'standaloneWeekdays', writer);
    return writer;
  }
   else {
    return args;
  }
}

function $weekdays(this$static){
  var args, writer;
  args = dynamicCast($get_8(this$static.cache, 'weekdays'), 113);
  if (args == null) {
    writer = initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']);
    $put_4(this$static.cache, 'weekdays', writer);
    return writer;
  }
   else {
    return args;
  }
}

function getClass_303(){
  return Lcom_google_gwt_i18n_client_constants_DateTimeConstantsImpl_1en_2_classLit;
}

function DateTimeConstantsImpl_en(){
}

_ = DateTimeConstantsImpl_en.prototype = new Object_0;
_.getClass$ = getClass_303;
_.typeId$ = 0;
function getClass_304(){
  return Lcom_google_gwt_i18n_client_constants_NumberConstantsImpl_1en_2_classLit;
}

function NumberConstantsImpl_en(){
}

_ = NumberConstantsImpl_en.prototype = new Object_0;
_.getClass$ = getClass_304;
_.typeId$ = 0;
function $clinit_388(){
  $clinit_388 = nullMethod;
  DAYS = initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']);
  MONTHS = initValues(_3Ljava_lang_String_2_classLit, 340, 1, ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']);
}

function $Date(this$static){
  $clinit_388();
  this$static.jsdate = new Date;
  return this$static;
}

function $Date_0(this$static, year, month, date){
  $clinit_388();
  this$static.jsdate = new Date;
  this$static.checkJsDate();
  this$static.jsdate.setFullYear(year + 1900, month, date);
  this$static.jsdate.setHours(0, 0, 0, 0);
  this$static.fixDaylightSavings(0);
  return this$static;
}

function $Date_1(this$static, date){
  $clinit_388();
  this$static.jsdate = new Date(date[1] + date[0]);
  return this$static;
}

function $compareTo_0(this$static, other){
  var otherTime, thisTime;
  thisTime = fromDouble((this$static.checkJsDate() , this$static.jsdate.getTime()));
  otherTime = fromDouble((other.checkJsDate() , other.jsdate.getTime()));
  if (compare_1(thisTime, otherTime) < 0) {
    return -1;
  }
   else if (compare_1(thisTime, otherTime) > 0) {
    return 1;
  }
   else {
    return 0;
  }
}

function $getDate(this$static){
  this$static.checkJsDate();
  return this$static.jsdate.getDate();
}

function $getDay(this$static){
  this$static.checkJsDate();
  return this$static.jsdate.getDay();
}

function $getMonth(this$static){
  this$static.checkJsDate();
  return this$static.jsdate.getMonth();
}

function $getTime0(this$static){
  this$static.checkJsDate();
  return this$static.jsdate.getTime();
}

function $getYear(this$static){
  this$static.checkJsDate();
  return this$static.jsdate.getFullYear() - 1900;
}

function $setDate(this$static, date){
  this$static.checkJsDate();
  var hours = this$static.jsdate.getHours();
  this$static.jsdate.setDate(date);
  this$static.fixDaylightSavings(hours);
}

function $setTime0(this$static, time){
  this$static.checkJsDate();
  this$static.jsdate.setTime(time);
}

function $toString_7(this$static){
  this$static.checkJsDate();
  var d = this$static.jsdate;
  var padTwo = padTwo_3;
  var day = DAYS[d.getDay()];
  var month = MONTHS[d.getMonth()];
  var offset = -d.getTimezoneOffset();
  var hourOffset = String(offset >= 0?'+' + Math.floor(offset / 60):Math.ceil(offset / 60));
  var minuteOffset = padTwo(Math.abs(offset) % 60);
  return day + ' ' + month + ' ' + padTwo(d.getDate()) + ' ' + padTwo(d.getHours()) + ':' + padTwo(d.getMinutes()) + ':' + padTwo(d.getSeconds()) + ' GMT' + hourOffset + minuteOffset + ' ' + d.getFullYear();
}

function checkJsDate(){
  (!this.jsdate || typeof this.jsdate != 'object') && throwJsDateException('' + this.jsdate);
}

function compareTo_0(p0){
  return $compareTo_0(this, dynamicCast(p0, 55));
}

function equals_9(obj){
  return obj != null && canCast(obj.typeId$, 55) && eq(fromDouble((this.checkJsDate() , this.jsdate.getTime())), fromDouble($getTime0(dynamicCast(obj, 55))));
}

function fixDaylightSavings(hours){
  if (this.jsdate.getHours() % 24 != hours % 24) {
    var d = new Date;
    d.setTime(this.jsdate.getTime());
    var noff = d.getTimezoneOffset();
    d.setDate(d.getDate() + 1);
    var loff = d.getTimezoneOffset();
    var timeDiff = noff - loff;
    if (timeDiff > 0) {
      var year = this.jsdate.getYear() + 1900;
      var month = this.jsdate.getMonth();
      var day = this.jsdate.getDate();
      var badHours = this.jsdate.getHours();
      var minute = this.jsdate.getMinutes();
      var second = this.jsdate.getSeconds();
      badHours + timeDiff / 60 >= 24 && day++;
      var newTime = new Date(year, month, day, hours + timeDiff / 60, minute + timeDiff % 60, second);
      this.jsdate.setTime(newTime.getTime());
    }
  }
}

function getClass_305(){
  return Ljava_util_Date_2_classLit;
}

function hashCode_8(){
  return lowBits_0(xor(fromDouble((this.checkJsDate() , this.jsdate.getTime())), shru(fromDouble((this.checkJsDate() , this.jsdate.getTime())), 32)));
}

function padTwo_3(number){
  if (number < 10) {
    return '0' + number;
  }
   else {
    return '' + number;
  }
}

function setHours(hours){
  this.checkJsDate();
  this.jsdate.setHours(hours);
  this.fixDaylightSavings(hours);
}

function setMinutes(minutes){
  this.checkJsDate();
  var hours = this.jsdate.getHours() + minutes / 60;
  this.jsdate.setMinutes(minutes);
  this.fixDaylightSavings(hours);
}

function setMonth(month){
  this.checkJsDate();
  var hours = this.jsdate.getHours();
  this.jsdate.setMonth(month);
  this.fixDaylightSavings(hours);
}

function setSeconds(seconds){
  this.checkJsDate();
  var hours = this.jsdate.getHours() + seconds / (60 * 60);
  this.jsdate.setSeconds(seconds);
  this.fixDaylightSavings(hours);
}

function setYear(year){
  this.checkJsDate();
  var hours = this.jsdate.getHours();
  this.jsdate.setFullYear(year + 1900);
  this.fixDaylightSavings(hours);
}

function throwJsDateException(val){
  throw $IllegalStateException_0(new IllegalStateException, 'jsdate is ' + val);
}

function toString_18(){
  return $toString_7(this);
}

function Date_0(){
}

_ = Date_0.prototype = new Object_0;
_.checkJsDate = checkJsDate;
_.compareTo$ = compareTo_0;
_.equals$ = equals_9;
_.fixDaylightSavings = fixDaylightSavings;
_.getClass$ = getClass_305;
_.hashCode$ = hashCode_8;
_.setHours_0 = setHours;
_.setMinutes_0 = setMinutes;
_.setMonth_0 = setMonth;
_.setSeconds_0 = setSeconds;
_.setYear = setYear;
_.toString$ = toString_18;
_.typeId$ = 220;
_.jsdate = null;
var DAYS, MONTHS;
function $clinit_389(){
  $clinit_389 = nullMethod;
  $clinit_388();
}

function $DateRecord(this$static){
  $clinit_389();
  this$static.jsdate = new Date;
  this$static.era = -1;
  this$static.ambiguousYear = false;
  this$static.year = -2147483648;
  this$static.month = -1;
  this$static.dayOfMonth = -1;
  this$static.ampm = -1;
  this$static.hours = -1;
  this$static.minutes = -1;
  this$static.seconds = -1;
  this$static.milliseconds = -1;
  this$static.dayOfWeek = -1;
  this$static.tzOffset = -2147483648;
  return this$static;
}

function $calcDate(this$static, date, strict){
  var adjustment, defaultCenturyStart, offset, orgDayOfMonth, orgMonth;
  this$static.era == 0 && this$static.year > 0 && (this$static.year = -(this$static.year - 1));
  this$static.year > -2147483648 && date.setYear(this$static.year - 1900);
  orgDayOfMonth = (date.checkJsDate() , date.jsdate.getDate());
  $setDate(date, 1);
  this$static.month >= 0 && date.setMonth_0(this$static.month);
  this$static.dayOfMonth >= 0?$setDate(date, this$static.dayOfMonth):$setDate(date, orgDayOfMonth);
  this$static.hours < 0 && (this$static.hours = (date.checkJsDate() , date.jsdate.getHours()));
  this$static.ampm > 0 && this$static.hours < 12 && (this$static.hours += 12);
  date.setHours_0(this$static.hours);
  this$static.minutes >= 0 && date.setMinutes_0(this$static.minutes);
  this$static.seconds >= 0 && date.setSeconds_0(this$static.seconds);
  this$static.milliseconds >= 0 && $setTime0(date, toDouble(add_2(mul(div_3(fromDouble((date.checkJsDate() , date.jsdate.getTime())), P3e8_longLit), P3e8_longLit), fromInt(this$static.milliseconds))));
  if (strict) {
    if (this$static.year > -2147483648 && this$static.year - 1900 != (date.checkJsDate() , date.jsdate.getFullYear() - 1900)) {
      return false;
    }
    if (this$static.month >= 0 && this$static.month != (date.checkJsDate() , date.jsdate.getMonth())) {
      return false;
    }
    if (this$static.dayOfMonth >= 0 && this$static.dayOfMonth != (date.checkJsDate() , date.jsdate.getDate())) {
      return false;
    }
    if (this$static.hours >= 24) {
      return false;
    }
    if (this$static.minutes >= 60) {
      return false;
    }
    if (this$static.seconds >= 60) {
      return false;
    }
    if (this$static.milliseconds >= 1000) {
      return false;
    }
  }
  if (this$static.tzOffset > -2147483648) {
    offset = (date.checkJsDate() , date.jsdate.getTimezoneOffset());
    $setTime0(date, toDouble(add_2(fromDouble((date.checkJsDate() , date.jsdate.getTime())), fromInt((this$static.tzOffset - offset) * 60 * 1000))));
  }
  if (this$static.ambiguousYear) {
    defaultCenturyStart = $Date(new Date_0);
    defaultCenturyStart.setYear((defaultCenturyStart.checkJsDate() , defaultCenturyStart.jsdate.getFullYear() - 1900) - 80);
    compare_1(fromDouble((date.checkJsDate() , date.jsdate.getTime())), fromDouble((defaultCenturyStart.checkJsDate() , defaultCenturyStart.jsdate.getTime()))) < 0 && date.setYear((defaultCenturyStart.checkJsDate() , defaultCenturyStart.jsdate.getFullYear() - 1900) + 100);
  }
  if (this$static.dayOfWeek >= 0) {
    if (this$static.dayOfMonth == -1) {
      adjustment = (7 + this$static.dayOfWeek - (date.checkJsDate() , date.jsdate.getDay())) % 7;
      adjustment > 3 && (adjustment -= 7);
      orgMonth = (date.checkJsDate() , date.jsdate.getMonth());
      $setDate(date, (date.checkJsDate() , date.jsdate.getDate()) + adjustment);
      (date.checkJsDate() , date.jsdate.getMonth()) != orgMonth && $setDate(date, (date.checkJsDate() , date.jsdate.getDate()) + (adjustment > 0?-7:7));
    }
     else {
      if ((date.checkJsDate() , date.jsdate.getDay()) != this$static.dayOfWeek) {
        return false;
      }
    }
  }
  return true;
}

function getClass_306(){
  return Lcom_google_gwt_i18n_client_impl_DateRecord_2_classLit;
}

function setHours_0(hours){
  this.hours = hours;
}

function setMinutes_0(minutes){
  this.minutes = minutes;
}

--></script>
<script><!--
function setMonth_0(month){
  this.month = month;
}

function setSeconds_0(seconds){
  this.seconds = seconds;
}

function setYear_0(value){
  this.year = value;
}

function DateRecord(){
}

_ = DateRecord.prototype = new Date_0;
_.getClass$ = getClass_306;
_.setHours_0 = setHours_0;
_.setMinutes_0 = setMinutes_0;
_.setMonth_0 = setMonth_0;
_.setSeconds_0 = setSeconds_0;
_.setYear = setYear_0;
_.typeId$ = 221;
_.ambiguousYear = false;
_.ampm = 0;
_.dayOfMonth = 0;
_.dayOfWeek = 0;
_.era = 0;
_.hours = 0;
_.milliseconds = 0;
_.minutes = 0;
_.month = 0;
_.seconds = 0;
_.tzOffset = 0;
_.year = 0;
function getClass_307(){
  return Lcom_google_gwt_json_client_JSONValue_2_classLit;
}

function isArray_0(){
  return null;
}

function isBoolean(){
  return null;
}

function isNull(){
  return null;
}

function isNumber(){
  return null;
}

function isObject(){
  return null;
}

function isString(){
  return null;
}

function JSONValue(){
}

_ = JSONValue.prototype = new Object_0;
_.getClass$ = getClass_307;
_.isArray_0 = isArray_0;
_.isBoolean = isBoolean;
_.isNull = isNull;
_.isNumber = isNumber;
_.isObject = isObject;
_.isString = isString;
_.typeId$ = 0;
function $JSONArray(this$static){
  this$static.jsArray = [];
  return this$static;
}

function $JSONArray_0(this$static, arr){
  this$static.jsArray = arr;
  return this$static;
}

function $get_5(this$static, index){
  var v = this$static.jsArray[index];
  var func = ($clinit_398() , typeMap)[typeof v];
  return func?func(v):throwUnknownTypeException(typeof v);
}

function $set_11(this$static, index, value){
  var previous;
  previous = $get_5(this$static, index);
  $set0(this$static, index, value);
  return previous;
}

function $set0(this$static, index, value){
  if (value) {
    var func = value.getUnwrapper();
    value = func(value);
  }
   else {
    value = undefined;
  }
  this$static.jsArray[index] = value;
}

function equals_10(other){
  if (!(other != null && canCast(other.typeId$, 114))) {
    return false;
  }
  return this.jsArray == dynamicCast(other, 114).jsArray;
}

function getClass_308(){
  return Lcom_google_gwt_json_client_JSONArray_2_classLit;
}

function getUnwrapper(){
  return unwrap;
}

function hashCode_9(){
  return getHashCode(this.jsArray);
}

function isArray_1(){
  return this;
}

function toString_19(){
  var c, i, sb;
  sb = $StringBuffer(new StringBuffer);
  sb.impl.string += '[';
  for (i = 0 , c = this.jsArray.length; i < c; ++i) {
    i > 0 && (sb.impl.string += ',' , undefined);
    $append_4(sb, $get_5(this, i));
  }
  sb.impl.string += ']';
  return sb.impl.string;
}

function unwrap(value){
  return value.jsArray;
}

function JSONArray(){
}

_ = JSONArray.prototype = new JSONValue;
_.equals$ = equals_10;
_.getClass$ = getClass_308;
_.getUnwrapper = getUnwrapper;
_.hashCode$ = hashCode_9;
_.isArray_0 = isArray_1;
_.toString$ = toString_19;
_.typeId$ = 222;
_.jsArray = null;
function $clinit_392(){
  $clinit_392 = nullMethod;
  FALSE = $JSONBoolean(new JSONBoolean, false);
  TRUE = $JSONBoolean(new JSONBoolean, true);
}

function $JSONBoolean(this$static, value){
  $clinit_392();
  this$static.value = value;
  return this$static;
}

function getClass_309(){
  return Lcom_google_gwt_json_client_JSONBoolean_2_classLit;
}

function getInstance(b){
  $clinit_392();
  if (b) {
    return TRUE;
  }
   else {
    return FALSE;
  }
}

function getUnwrapper_0(){
  return unwrap_0;
}

function isBoolean_0(){
  return this;
}

function toString_20(){
  return $clinit_484() , '' + this.value;
}

function unwrap_0(value){
  return value.value;
}

function JSONBoolean(){
}

_ = JSONBoolean.prototype = new JSONValue;
_.getClass$ = getClass_309;
_.getUnwrapper = getUnwrapper_0;
_.isBoolean = isBoolean_0;
_.toString$ = toString_20;
_.typeId$ = 0;
_.value = false;
var FALSE, TRUE;
function $JSONException(this$static, message){
  $fillInStackTrace();
  this$static.detailMessage = message;
  return this$static;
}

function $JSONException_0(this$static, cause){
  $fillInStackTrace();
  this$static.detailMessage = !cause?null:$toString_4(cause);
  this$static.cause = cause;
  return this$static;
}

function getClass_310(){
  return Lcom_google_gwt_json_client_JSONException_2_classLit;
}

function JSONException(){
}

_ = JSONException.prototype = new RuntimeException;
_.getClass$ = getClass_310;
_.typeId$ = 223;
function $clinit_394(){
  $clinit_394 = nullMethod;
  instance_9 = ($clinit_394() , new JSONNull);
}

function getClass_311(){
  return Lcom_google_gwt_json_client_JSONNull_2_classLit;
}

function getUnwrapper_1(){
  return unwrap_1;
}

function isNull_0(){
  return this;
}

function toString_21(){
  return 'null';
}

function unwrap_1(){
  return null;
}

function JSONNull(){
}

_ = JSONNull.prototype = new JSONValue;
_.getClass$ = getClass_311;
_.getUnwrapper = getUnwrapper_1;
_.isNull = isNull_0;
_.toString$ = toString_21;
_.typeId$ = 0;
var instance_9;
function $JSONNumber(this$static, value){
  this$static.value = value;
  return this$static;
}

function equals_11(other){
  if (!(other != null && canCast(other.typeId$, 115))) {
    return false;
  }
  return this.value == dynamicCast(other, 115).value;
}

function getClass_312(){
  return Lcom_google_gwt_json_client_JSONNumber_2_classLit;
}

function getUnwrapper_2(){
  return unwrap_2;
}

function hashCode_10(){
  return ~~Math.max(Math.min($Double(new Double, this.value).value, 2147483647), -2147483648);
}

function isNumber_0(){
  return this;
}

function toString_22(){
  return this.value + '';
}

function unwrap_2(value){
  return value.value;
}

function JSONNumber(){
}

_ = JSONNumber.prototype = new JSONValue;
_.equals$ = equals_11;
_.getClass$ = getClass_312;
_.getUnwrapper = getUnwrapper_2;
_.hashCode$ = hashCode_10;
_.isNumber = isNumber_0;
_.toString$ = toString_22;
_.typeId$ = 224;
_.value = 0;
function $JSONObject(this$static){
  $JSONObject_0(this$static, {});
  return this$static;
}

function $JSONObject_0(this$static, jsValue){
  this$static.jsObject = jsValue;
  return this$static;
}

function $computeKeys0(this$static, result){
  var jsObject = this$static.jsObject;
  var i = 0;
  for (var key in jsObject) {
    jsObject.hasOwnProperty(key) && (result[i++] = key);
  }
  return result;
}

function $containsKey_1(this$static, key){
  return key in this$static.jsObject;
}

function $get_6(this$static, key){
  if (key == null) {
    throw $NullPointerException(new NullPointerException);
  }
  return $get0(this$static, key);
}

function $get0(this$static, key){
  var jsObject = this$static.jsObject;
  var v;
  key = String(key);
  jsObject.hasOwnProperty(key) && (v = jsObject[key]);
  var func = ($clinit_398() , typeMap)[typeof v];
  var ret = func?func(v):throwUnknownTypeException(typeof v);
  return ret;
}

function $put_3(this$static, key, jsonValue){
  var previous;
  if (key == null) {
    throw $NullPointerException(new NullPointerException);
  }
  previous = $get_6(this$static, key);
  $put0(this$static, key, jsonValue);
  return previous;
}

function $put0(this$static, key, value){
  if (value) {
    var func = value.getUnwrapper();
    this$static.jsObject[key] = func(value);
  }
   else {
    delete this$static.jsObject[key];
  }
}

function $toString_8(this$static){
  var first, key, key$array, key$index, key$max, keys, sb;
  sb = $StringBuffer(new StringBuffer);
  sb.impl.string += '{';
  first = true;
  keys = $computeKeys0(this$static, initDim(_3Ljava_lang_String_2_classLit, 340, 1, 0, 0));
  for (key$array = keys , key$index = 0 , key$max = key$array.length; key$index < key$max; ++key$index) {
    key = key$array[key$index];
    first?(first = false):(sb.impl.string += ', ' , undefined);
    $append_5(sb, escapeValue(key));
    sb.impl.string += ':';
    $append_4(sb, $get_6(this$static, key));
  }
  sb.impl.string += '}';
  return sb.impl.string;
}

function equals_12(other){
  if (!(other != null && canCast(other.typeId$, 116))) {
    return false;
  }
  return this.jsObject == dynamicCast(other, 116).jsObject;
}

function getClass_313(){
  return Lcom_google_gwt_json_client_JSONObject_2_classLit;
}

function getUnwrapper_3(){
  return unwrap_3;
}

function hashCode_11(){
  return getHashCode(this.jsObject);
}

function isObject_0(){
  return this;
}

function toString_23(){
  return $toString_8(this);
}

function unwrap_3(value){
  return value.jsObject;
}

function JSONObject(){
}

_ = JSONObject.prototype = new JSONValue;
_.equals$ = equals_12;
_.getClass$ = getClass_313;
_.getUnwrapper = getUnwrapper_3;
_.hashCode$ = hashCode_11;
_.isObject = isObject_0;
_.toString$ = toString_23;
_.typeId$ = 225;
_.jsObject = null;
function $JSONObject$1(this$static, this$0, val$keys){
  this$static.this$0 = this$0;
  this$static.val$keys = val$keys;
  return this$static;
}

function contains_3(o){
  return o != null && canCast(o.typeId$, 1) && $containsKey_1(this.this$0, dynamicCast(o, 1));
}

function getClass_314(){
  return Lcom_google_gwt_json_client_JSONObject$1_2_classLit;
}

function iterator_2(){
  return $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, $Arrays$ArrayList(new Arrays$ArrayList, this.val$keys));
}

function size_8(){
  return this.val$keys.length;
}

function JSONObject$1(){
}

_ = JSONObject$1.prototype = new AbstractSet;
_.contains = contains_3;
_.getClass$ = getClass_314;
_.iterator_0 = iterator_2;
_.size_0 = size_8;
_.typeId$ = 226;
_.this$0 = null;
_.val$keys = null;
function $clinit_398(){
  $clinit_398 = nullMethod;
  typeMap = {'boolean':createBoolean, number:createNumber, string:createString, object:createObject_0, 'function':createObject_0, undefined:createUndefined};
}

function createBoolean(v){
  return getInstance(v);
}

function createNumber(v){
  return $JSONNumber(new JSONNumber, v);
}

function createObject_0(o){
  if (!o) {
    return $clinit_394() , instance_9;
  }
  var v = o.valueOf?o.valueOf():o;
  if (v !== o) {
    var func = typeMap[typeof v];
    return func?func(v):throwUnknownTypeException(typeof v);
  }
   else if (o instanceof Array || o instanceof $wnd.Array) {
    return $JSONArray_0(new JSONArray, o);
  }
   else {
    return $JSONObject_0(new JSONObject, o);
  }
}

function createString(v){
  return $JSONString(new JSONString, v);
}

function createUndefined(){
  return null;
}

function parse(jsonString){
  var v, func;
  $clinit_398();
  var $e0, ex;
  if (jsonString == null) {
    throw $NullPointerException(new NullPointerException);
  }
  if (jsonString.length == 0) {
    throw $IllegalArgumentException(new IllegalArgumentException, 'empty argument');
  }
  try {
    return v = eval('(' + jsonString + ')') , func = typeMap[typeof v] , func?func(v):throwUnknownTypeException(typeof v);
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (instanceOf($e0, 117)) {
      ex = $e0;
      throw $JSONException_0(new JSONException, ex);
    }
     else 
      throw $e0;
  }
}

function throwUnknownTypeException(typeString){
  $clinit_398();
  throw $JSONException(new JSONException, "Unexpected typeof result '" + typeString + "'; please report this bug to the GWT team");
}

var typeMap;
function $JSONString(this$static, value){
  if (value == null) {
    throw $NullPointerException(new NullPointerException);
  }
  this$static.value = value;
  return this$static;
}

function equals_13(other){
  if (!(other != null && canCast(other.typeId$, 118))) {
    return false;
  }
  return $equals_4(this.value, dynamicCast(other, 118).value);
}

function getClass_315(){
  return Lcom_google_gwt_json_client_JSONString_2_classLit;
}

function getUnwrapper_4(){
  return unwrap_4;
}

function hashCode_12(){
  return getHashCode_0(this.value);
}

function isString_0(){
  return this;
}

function toString_24(){
  return escapeValue(this.value);
}

function unwrap_4(value){
  return value.value;
}

function JSONString(){
}

_ = JSONString.prototype = new JSONValue;
_.equals$ = equals_13;
_.getClass$ = getClass_315;
_.getUnwrapper = getUnwrapper_4;
_.hashCode$ = hashCode_12;
_.isString = isString_0;
_.toString$ = toString_24;
_.typeId$ = 227;
_.value = null;
function clone(array){
  var a, result;
  return a = array , result = a.slice(0, array.length) , initValues(a.arrayClass$, a.typeId$, a.queryId$, result) , result;
}

function createFrom(array, length_0){
  var a, result;
  a = array;
  result = createFromSeed(0, length_0);
  initValues(a.arrayClass$, a.typeId$, a.queryId$, result);
  return result;
}

function createFromSeed(seedType, length_0){
  var array = new Array(length_0);
  if (seedType > 0) {
    var value = [null, 0, false, [0, 0]][seedType];
    for (var i = 0; i < length_0; ++i) {
      array[i] = value;
    }
  }
  return array;
}

function getClass_316(){
  return this.arrayClass$;
}

function initDim(arrayClass, typeId, queryId, length_0, seedType){
  var result;
  result = createFromSeed(seedType, length_0);
  $clinit_401();
  wrapArray(result, expandoNames_0, expandoValues_0);
  result.arrayClass$ = arrayClass;
  result.typeId$ = typeId;
  result.queryId$ = queryId;
  return result;
}

function initValues(arrayClass, typeId, queryId, array){
  $clinit_401();
  wrapArray(array, expandoNames_0, expandoValues_0);
  array.arrayClass$ = arrayClass;
  array.typeId$ = typeId;
  array.queryId$ = queryId;
  return array;
}

function setCheck(array, index, value){
  if (value != null) {
    if (array.queryId$ > 0 && !canCastUnsafe(value.typeId$, array.queryId$)) {
      throw $ArrayStoreException(new ArrayStoreException);
    }
    if (array.queryId$ < 0 && (value.typeMarker$ == nullMethod || value.typeId$ == 2)) {
      throw $ArrayStoreException(new ArrayStoreException);
    }
  }
  return array[index] = value;
}

function Array_0(){
}

_ = Array_0.prototype = new Object_0;
_.getClass$ = getClass_316;
_.typeId$ = 0;
_.arrayClass$ = null;
_.length = 0;
_.queryId$ = 0;
function $clinit_401(){
  $clinit_401 = nullMethod;
  expandoNames_0 = [];
  expandoValues_0 = [];
  initExpandos(new Array_0, expandoNames_0, expandoValues_0);
}

function initExpandos(protoType, expandoNames, expandoValues){
  var i = 0, value;
  for (var name_0 in protoType) {
    if (value = protoType[name_0]) {
      expandoNames[i] = name_0;
      expandoValues[i] = value;
      ++i;
    }
  }
}

function wrapArray(array, expandoNames, expandoValues){
  $clinit_401();
  for (var i = 0, c = expandoNames.length; i < c; ++i) {
    array[expandoNames[i]] = expandoValues[i];
  }
}

var expandoNames_0, expandoValues_0;
function canCast(srcId, dstId){
  return srcId && !!typeIdArray[srcId][dstId];
}

function canCastUnsafe(srcId, dstId){
  return srcId && typeIdArray[srcId][dstId];
}

function dynamicCast(src, dstId){
  if (src != null && !canCastUnsafe(src.typeId$, dstId)) {
    throw $ClassCastException(new ClassCastException);
  }
  return src;
}

function dynamicCastJso(src){
  if (src != null && (src.typeMarker$ == nullMethod || src.typeId$ == 2)) {
    throw $ClassCastException(new ClassCastException);
  }
  return src;
}

function instanceOf(src, dstId){
  return src != null && canCast(src.typeId$, dstId);
}

function instanceOfJso(src){
  return src != null && src.typeMarker$ != nullMethod && src.typeId$ != 2;
}

function maskUndefined(src){
  return src == null?null:src;
}

function round_int(x){
  return ~~Math.max(Math.min(x, 2147483647), -2147483648);
}

function throwClassCastExceptionUnlessNull(o){
  if (o != null) {
    throw $ClassCastException(new ClassCastException);
  }
  return o;
}

var typeIdArray = [{}, {}, {1:1, 28:1, 29:1, 31:1}, {121:1}, {121:1}, {28:1, 31:1, 32:1}, {4:1, 28:1, 31:1, 32:1}, {5:1, 28:1, 31:1, 32:1}, {6:1, 28:1, 31:1, 32:1}, {7:1, 28:1, 31:1, 32:1}, {8:1, 28:1, 31:1, 32:1}, {9:1, 28:1, 31:1, 32:1}, {10:1, 28:1, 31:1, 32:1}, {11:1, 28:1, 31:1, 32:1}, {12:1, 28:1, 31:1, 32:1}, {2:1}, {13:1, 28:1, 31:1, 32:1}, {43:1}, {28:1, 43:1}, {125:1}, {125:1}, {125:1}, {40:1}, {28:1, 125:1}, {28:1, 44:1}, {28:1, 45:1}, {68:1}, {68:1}, {48:1}, {48:1, 60:1}, {48:1, 60:1, 70:1}, {100:1}, {78:1}, {48:1, 60:1, 75:1}, {48:1}, {47:1}, {46:1}, {14:1, 28:1}, {48:1, 60:1, 83:1}, {48:1}, {69:1}, {48:1, 60:1, 75:1}, {48:1, 60:1, 71:1}, {46:1}, {48:1, 60:1, 75:1, 79:1}, {49:1}, {46:1}, {46:1}, {48:1, 91:1}, {48:1, 60:1, 75:1}, {48:1, 60:1}, {121:1}, {119:1}, {46:1}, {110:1, 120:1}, {110:1, 120:1}, {20:1}, {20:1}, {46:1}, {110:1, 120:1}, {15:1, 28:1, 31:1, 32:1}, {26:1}, {23:1, 25:1, 26:1, 27:1}, {23:1, 25:1, 26:1, 27:1, 63:1}, {23:1, 25:1, 26:1, 27:1, 50:1, 63:1}, {57:1}, {56:1}, {107:1, 110:1}, {65:1}, {110:1, 120:1}, {25:1}, {121:1}, {16:1, 28:1, 31:1, 32:1}, {121:1}, {46:1}, {53:1}, {58:1}, {59:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 74:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 64:1, 74:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 64:1, 74:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 64:1, 67:1, 74:1}, {23:1, 25:1, 26:1, 27:1, 61:1, 63:1, 64:1, 67:1, 74:1}, {23:1, 25:1, 26:1, 27:1, 61:1, 63:1, 64:1, 67:1, 74:1, 89:1}, {46:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 64:1, 67:1, 74:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 64:1, 67:1, 74:1}, {119:1}, {46:1}, {106:1, 110:1}, {46:1}, {46:1}, {46:1}, {46:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 74:1}, {103:1, 110:1}, {46:1}, {46:1}, {23:1, 25:1, 26:1, 27:1, 63:1}, {46:1}, {46:1}, {46:1}, {23:1, 25:1, 26:1, 27:1, 61:1, 63:1, 64:1, 67:1, 74:1, 77:1}, {23:1, 25:1, 26:1, 27:1, 61:1, 63:1, 64:1, 67:1, 74:1, 77:1}, {46:1}, {23:1, 25:1, 26:1, 27:1, 63:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 64:1, 67:1, 74:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 64:1, 74:1}, {2:1}, {17:1, 28:1, 31:1, 32:1}, {46:1}, {46:1}, {46:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 74:1, 76:1}, {110:1, 120:1}, {46:1}, {110:1, 120:1}, {46:1}, {46:1}, {23:1, 25:1, 26:1, 27:1, 62:1, 63:1, 74:1}, {46:1}, {46:1}, {46:1}, {46:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 74:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 64:1, 67:1, 74:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 66:1, 74:1}, {121:1}, {110:1, 120:1}, {119:1}, {46:1}, {46:1}, {119:1}, {119:1}, {46:1}, {46:1}, {46:1}, {46:1}, {46:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 74:1, 95:1}, {110:1, 120:1}, {46:1}, {119:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 64:1, 74:1, 96:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 64:1, 74:1, 96:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 74:1}, {46:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 74:1, 90:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 74:1, 92:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 74:1, 92:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 74:1, 92:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 74:1, 92:1}, {46:1}, {46:1}, {110:1, 120:1}, {46:1}, {86:1}, {82:1, 86:1}, {81:1}, {119:1}, {119:1}, {119:1}, {23:1, 25:1, 26:1, 27:1, 61:1, 63:1, 64:1, 67:1, 74:1}, {119:1}, {18:1, 28:1, 31:1, 32:1}, {19:1, 28:1, 31:1, 32:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 74:1, 92:1}, {85:1, 86:1}, {84:1}, {46:1}, {110:1, 120:1}, {72:1}, {72:1, 73:1}, {72:1, 73:1, 87:1}, {46:1}, {23:1, 25:1, 26:1, 27:1, 61:1, 63:1, 64:1, 67:1, 74:1, 89:1}, {46:1}, {46:1}, {46:1}, {72:1, 88:1}, {72:1, 73:1, 87:1, 93:1}, {72:1, 94:1}, {80:1}, {46:1}, {46:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 64:1, 74:1, 98:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 64:1, 74:1, 98:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 99:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 99:1}, {110:1, 120:1}, {46:1}, {46:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 99:1}, {23:1, 25:1, 26:1, 27:1, 61:1, 63:1, 64:1, 67:1, 74:1}, {46:1}, {23:1, 25:1, 26:1, 27:1, 61:1, 63:1, 64:1, 67:1, 74:1}, {46:1}, {121:1}, {121:1}, {121:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 97:1}, {121:1}, {28:1, 38:1}, {28:1, 38:1, 54:1}, {28:1, 38:1, 54:1, 102:1}, {28:1, 38:1, 54:1, 102:1, 117:1}, {22:1, 28:1, 31:1, 32:1}, {22:1, 28:1, 31:1, 32:1}, {22:1, 28:1, 31:1, 32:1}, {22:1, 28:1, 31:1, 32:1}, {22:1, 28:1, 31:1, 32:1}, {22:1, 28:1, 31:1, 32:1}, {22:1, 28:1, 31:1, 32:1}, {22:1, 28:1, 31:1, 32:1}, {22:1, 28:1, 31:1, 32:1}, {22:1, 28:1, 31:1, 32:1}, {104:1}, {108:1}, {108:1}, {111:1}, {28:1, 31:1, 55:1}, {28:1, 31:1, 55:1}, {114:1}, {28:1, 38:1, 54:1, 102:1}, {115:1}, {116:1}, {125:1}, {118:1}, {28:1, 38:1, 54:1, 102:1}, {121:1}, {121:1}, {105:1, 110:1}, {23:1}, {23:1}, {23:1}, {23:1}, {23:1, 25:1, 26:1, 27:1, 124:1}, {23:1, 25:1, 26:1, 27:1, 124:1}, {23:1, 25:1, 26:1, 27:1, 124:1}, {28:1, 38:1, 54:1, 102:1}, {23:1, 25:1, 26:1, 27:1, 124:1}, {23:1, 25:1, 26:1, 27:1, 124:1}, {23:1, 25:1, 26:1, 27:1, 124:1}, {23:1, 25:1, 26:1, 27:1, 124:1}, {23:1, 25:1, 26:1, 27:1}, {23:1, 25:1, 26:1, 27:1, 123:1, 124:1}, {105:1, 110:1}, {23:1, 25:1, 26:1, 27:1, 123:1, 124:1}, {28:1, 38:1, 54:1, 102:1}, {28:1, 38:1, 54:1, 102:1}, {28:1, 38:1}, {28:1, 38:1}, {3:1, 28:1, 31:1}, {28:1, 30:1, 31:1}, {28:1, 38:1, 54:1, 102:1}, {28:1, 35:1}, {28:1, 31:1, 35:1, 51:1}, {28:1, 31:1, 35:1, 52:1}, {28:1, 38:1, 54:1, 102:1}, {28:1, 38:1, 54:1, 102:1}, {28:1, 38:1, 54:1, 102:1}, {28:1, 31:1, 33:1, 35:1}, {28:1, 31:1, 34:1, 35:1}, {28:1, 38:1, 54:1, 102:1}, {28:1, 38:1, 54:1, 102:1, 112:1}, {28:1, 31:1, 35:1, 36:1}, {28:1, 37:1}, {29:1}, {28:1, 38:1, 54:1, 102:1}, {43:1}, {125:1}, {40:1}, {40:1}, {40:1}, {42:1}, {125:1}, {28:1, 42:1, 109:1}, {28:1, 42:1}, {42:1}, {43:1}, {125:1}, {125:1}, {40:1}, {42:1}, {28:1, 38:1, 54:1, 102:1}, {28:1, 43:1}, {28:1, 125:1}, {40:1}, {28:1, 38:1, 54:1, 102:1}, {28:1, 42:1}, {28:1, 42:1}, {56:1}, {56:1}, {46:1}, {46:1}, {46:1}, {28:1, 43:1, 127:1}, {128:1}, {28:1, 43:1}, {126:1}, {23:1, 25:1, 26:1, 27:1, 63:1, 64:1, 67:1, 74:1}, {56:1}, {28:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1, 101:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 39:1}, {28:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1}, {28:1, 41:1, 113:1}, {28:1, 41:1, 122:1}, {28:1, 41:1}];
function init_0(){
  !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'startup', evtGroup:'moduleStartup', millis:(new Date).getTime(), type:'onModuleLoadStart', className:'web.example.client.Main'});
  $onModuleLoad(new Main);
}

function caught_0(e){
  if (e != null && canCast(e.typeId$, 38)) {
    return e;
  }
  return $JavaScriptException(new JavaScriptException, e);
}

function add_2(a, b){
  var newHigh, newLow;
  newHigh = a[1] + b[1];
  newLow = a[0] + b[0];
  return create_1(newLow, newHigh);
}

function addTimes(accum, a, b){
  if (a == 0) {
    return accum;
  }
  if (b == 0) {
    return accum;
  }
  return add_2(accum, create_1(a * b, 0));
}

function compare_1(a, b){
  var nega, negb;
  if (a[0] == b[0] && a[1] == b[1]) {
    return 0;
  }
  nega = a[1] < 0;
  negb = b[1] < 0;
  if (nega && !negb) {
    return -1;
  }
  if (!nega && negb) {
    return 1;
  }
  if (sub_0(a, b)[1] < 0) {
    return -1;
  }
   else {
    return 1;
  }
}

function create_1(valueLow, valueHigh){
  var diffHigh, diffLow;
  valueHigh %= 1.8446744073709552E19;
  valueLow %= 1.8446744073709552E19;
  diffHigh = valueHigh % 4294967296;
  diffLow = Math.floor(valueLow / 4294967296) * 4294967296;
  valueHigh = valueHigh - diffHigh + diffLow;
  valueLow = valueLow - diffLow + diffHigh;
  while (valueLow < 0) {
    valueLow += 4294967296;
    valueHigh -= 4294967296;
  }
  while (valueLow > 4294967295) {
    valueLow -= 4294967296;
    valueHigh += 4294967296;
  }
  valueHigh = valueHigh % 1.8446744073709552E19;
  while (valueHigh > 9223372032559808512) {
    valueHigh -= 1.8446744073709552E19;
  }
  while (valueHigh < -9223372036854775808) {
    valueHigh += 1.8446744073709552E19;
  }
  return [valueLow, valueHigh];
}

function div_3(a, b){
  var approx, deltaRem, deltaResult, halfa, rem, result;
  if (b[0] == 0 && b[1] == 0) {
    throw $ArithmeticException(new ArithmeticException, '/ by zero');
  }
  if (a[0] == 0 && a[1] == 0) {
    return $clinit_408() , ZERO;
  }
  if (eq(a, ($clinit_408() , MIN_VALUE))) {
    if (eq(b, ONE) || eq(b, NEG_ONE)) {
      return MIN_VALUE;
    }
    halfa = shr(a, 1);
    approx = shl(div_3(halfa, b), 1);
    rem = sub_0(a, mul(b, approx));
    return add_2(approx, div_3(rem, b));
  }
  if (eq(b, MIN_VALUE)) {
    return ZERO;
  }
  if (a[1] < 0) {
    if (b[1] < 0) {
      return div_3(neg_0(a), neg_0(b));
    }
     else {
      return neg_0(div_3(neg_0(a), b));
    }
  }
  if (b[1] < 0) {
    return neg_0(div_3(a, neg_0(b)));
  }
  result = ZERO;
  rem = a;
  while (compare_1(rem, b) >= 0) {
    deltaResult = fromDouble(Math.floor(toDoubleRoundDown(rem) / toDoubleRoundUp(b)));
    deltaResult[0] == 0 && deltaResult[1] == 0 && (deltaResult = ONE);
    deltaRem = mul(deltaResult, b);
    result = add_2(result, deltaResult);
    rem = sub_0(rem, deltaRem);
  }
  return result;
}

function eq(a, b){
  return a[0] == b[0] && a[1] == b[1];
}

function fromDouble(value){
  if (isNaN(value)) {
    return $clinit_408() , ZERO;
  }
  if (value < -9223372036854775808) {
    return $clinit_408() , MIN_VALUE;
  }
  if (value >= 9223372036854775807) {
    return $clinit_408() , MAX_VALUE;
  }
  if (value > 0) {
    return create_1(Math.floor(value), 0);
  }
   else {
    return create_1(Math.ceil(value), 0);
  }
}

function fromInt(value){
  var rebase, result;
  if (value > -129 && value < 128) {
    rebase = value + 128;
    result = ($clinit_407() , boxedValues)[rebase];
    result == null && (result = boxedValues[rebase] = internalFromInt(value));
    return result;
  }
  return internalFromInt(value);
}

function internalFromInt(value){
  if (value >= 0) {
    return [value, 0];
  }
   else {
    return [value + 4294967296, -4294967296];
  }
}

function lowBits_0(a){
  if (a[0] >= 2147483648) {
    return ~~Math.max(Math.min(a[0] - 4294967296, 2147483647), -2147483648);
  }
   else {
    return ~~Math.max(Math.min(a[0], 2147483647), -2147483648);
  }
}

function makeFromBits(highBits, lowBits){
  var high, low;
  high = highBits * 4294967296;
  low = lowBits;
  lowBits < 0 && (low += 4294967296);
  return [low, high];
}

function mod(a, b){
  return sub_0(a, mul(div_3(a, b), b));
}

function mul(a, b){
  var a1, a2, a3, a4, b1, b2, b3, b4, res;
  if (a[0] == 0 && a[1] == 0) {
    return $clinit_408() , ZERO;
  }
  if (b[0] == 0 && b[1] == 0) {
    return $clinit_408() , ZERO;
  }
  if (eq(a, ($clinit_408() , MIN_VALUE))) {
    return multByMinValue(b);
  }
  if (eq(b, MIN_VALUE)) {
    return multByMinValue(a);
  }
  if (a[1] < 0) {
    if (b[1] < 0) {
      return mul(neg_0(a), neg_0(b));
    }
     else {
      return neg_0(mul(neg_0(a), b));
    }
  }
  if (b[1] < 0) {
    return neg_0(mul(a, neg_0(b)));
  }
  if (compare_1(a, TWO_PWR_24) < 0 && compare_1(b, TWO_PWR_24) < 0) {
    return create_1((a[1] + a[0]) * (b[1] + b[0]), 0);
  }
  a3 = a[1] % 281474976710656;
  a4 = a[1] - a3;
  a1 = a[0] % 65536;
  a2 = a[0] - a1;
  b3 = b[1] % 281474976710656;
  b4 = b[1] - b3;
  b1 = b[0] % 65536;
  b2 = b[0] - b1;
  res = ZERO;
  res = addTimes(res, a4, b1);
  res = addTimes(res, a3, b2);
  res = addTimes(res, a3, b1);
  res = addTimes(res, a2, b3);
  res = addTimes(res, a2, b2);
  res = addTimes(res, a2, b1);
  res = addTimes(res, a1, b4);
  res = addTimes(res, a1, b3);
  res = addTimes(res, a1, b2);
  res = addTimes(res, a1, b1);
  return res;
}

function multByMinValue(a){
  if ((lowBits_0(a) & 1) == 1) {
    return $clinit_408() , MIN_VALUE;
  }
   else {
    return $clinit_408() , ZERO;
  }
}

function neg_0(a){
  var newHigh, newLow;
  if (eq(a, ($clinit_408() , MIN_VALUE))) {
    return MIN_VALUE;
  }
  newHigh = -a[1];
  newLow = -a[0];
  if (newLow > 4294967295) {
    newLow -= 4294967296;
    newHigh += 4294967296;
  }
  if (newLow < 0) {
    newLow += 4294967296;
    newHigh -= 4294967296;
  }
  return [newLow, newHigh];
}

function neq(a, b){
  return a[0] != b[0] || a[1] != b[1];
}

function pwrAsDouble(n){
  if (n <= 30) {
    return 1 << n;
  }
   else {
    return pwrAsDouble(30) * pwrAsDouble(n - 30);
  }
}

function shl(a, n){
  var diff, newHigh, newLow, twoToN;
  n &= 63;
  if (eq(a, ($clinit_408() , MIN_VALUE))) {
    if (n == 0) {
      return a;
    }
     else {
      return ZERO;
    }
  }
  if (a[1] < 0) {
    return neg_0(shl(neg_0(a), n));
  }
  twoToN = pwrAsDouble(n);
  newHigh = a[1] * twoToN % 1.8446744073709552E19;
  newLow = a[0] * twoToN;
  diff = newLow - newLow % 4294967296;
  newHigh += diff;
  newLow -= diff;
  newHigh >= 9223372036854775807 && (newHigh -= 1.8446744073709552E19);
  return [newLow, newHigh];
}

function shr(a, n){
  var newHigh, newLow, shiftFact;
  n &= 63;
  shiftFact = pwrAsDouble(n);
  newHigh = Math.floor(a[1] / shiftFact);
  newLow = Math.floor(a[0] / shiftFact);
  return create_1(newLow, newHigh);
}

function shru(a, n){
  var sr;
  n &= 63;
  sr = shr(a, n);
  a[1] < 0 && (sr = add_2(sr, shl(($clinit_408() , TWO), 63 - n)));
  return sr;
}

function sub_0(a, b){
  var newHigh, newLow;
  newHigh = a[1] - b[1];
  newLow = a[0] - b[0];
  return create_1(newLow, newHigh);
}

function toDouble(a){
  return a[1] + a[0];
}

function toDoubleRoundDown(a){
  var diff, magnitute, toSubtract;
  magnitute = round_int(Math.log(a[1]) / ($clinit_408() , LN_2));
  if (magnitute <= 48) {
    return a[1] + a[0];
  }
   else {
    diff = magnitute - 48;
    toSubtract = (1 << diff) - 1;
    return a[1] + (a[0] - toSubtract);
  }
}

function toDoubleRoundUp(a){
  var diff, magnitute, toAdd;
  magnitute = round_int(Math.log(a[1]) / ($clinit_408() , LN_2));
  if (magnitute <= 48) {
    return a[1] + a[0];
  }
   else {
    diff = magnitute - 48;
    toAdd = (1 << diff) - 1;
    return a[1] + (a[0] + toAdd);
  }
}

--></script>
<script><!--
function toString_25(a){
  var digits, rem, remDivTenPower, res, tenPowerLong, zeroesNeeded;
  if (a[0] == 0 && a[1] == 0) {
    return '0';
  }
  if (eq(a, ($clinit_408() , MIN_VALUE))) {
    return '-9223372036854775808';
  }
  if (a[1] < 0) {
    return '-' + toString_25(neg_0(a));
  }
  rem = a;
  res = '';
  while (!(rem[0] == 0 && rem[1] == 0)) {
    tenPowerLong = fromInt(1000000000);
    remDivTenPower = div_3(rem, tenPowerLong);
    digits = '' + lowBits_0(sub_0(rem, mul(remDivTenPower, tenPowerLong)));
    rem = remDivTenPower;
    if (!(rem[0] == 0 && rem[1] == 0)) {
      zeroesNeeded = 9 - digits.length;
      for (; zeroesNeeded > 0; --zeroesNeeded) {
        digits = '0' + digits;
      }
    }
    res = digits + res;
  }
  return res;
}

function xor(a, b){
  return makeFromBits(~~Math.max(Math.min(a[1] / 4294967296, 2147483647), -2147483648) ^ ~~Math.max(Math.min(b[1] / 4294967296, 2147483647), -2147483648), lowBits_0(a) ^ lowBits_0(b));
}

function $clinit_407(){
  $clinit_407 = nullMethod;
  boxedValues = initDim(_3_3D_classLit, 342, 39, 256, 0);
}

var boxedValues;
function $clinit_408(){
  $clinit_408 = nullMethod;
  LN_2 = Math.log(2);
  MAX_VALUE = P7fffffffffffffff_longLit;
  MIN_VALUE = N8000000000000000_longLit;
  NEG_ONE = fromInt(-1);
  ONE = fromInt(1);
  TWO = fromInt(2);
  TWO_PWR_24 = P1000000_longLit;
  ZERO = fromInt(0);
}

var LN_2, MAX_VALUE, MIN_VALUE, NEG_ONE, ONE, TWO, TWO_PWR_24, ZERO;
function $CommandCanceledException(this$static){
  $fillInStackTrace();
  return this$static;
}

function getClass_317(){
  return Lcom_google_gwt_user_client_CommandCanceledException_2_classLit;
}

function CommandCanceledException(){
}

_ = CommandCanceledException.prototype = new RuntimeException;
_.getClass$ = getClass_317;
_.typeId$ = 228;
function $CommandExecutor(this$static){
  this$static.cancellationTimer = $CommandExecutor$1(new CommandExecutor$1, this$static);
  this$static.commands = $ArrayList(new ArrayList);
  this$static.executionTimer = $CommandExecutor$2(new CommandExecutor$2, this$static);
  this$static.iterator = $CommandExecutor$CircularIterator(new CommandExecutor$CircularIterator, this$static);
  return this$static;
}

function $doCommandCanceled(this$static){
  var cmd;
  cmd = $getLast(this$static.iterator);
  $remove_10(this$static.iterator);
  cmd != null && canCast(cmd.typeId$, 119) && $CommandCanceledException(new CommandCanceledException, dynamicCast(cmd, 119));
  this$static.executing = false;
  $maybeStartExecutionTimer(this$static);
}

function $doExecuteCommands(this$static, startTimeMillis){
  var command, element, wasCanceled;
  wasCanceled = false;
  try {
    this$static.executing = true;
    this$static.iterator.end = this$static.commands.size;
    $schedule(this$static.cancellationTimer, 10000);
    while ($hasNext(this$static.iterator)) {
      element = $next_0(this$static.iterator);
      try {
        if (element == null) {
          return;
        }
        if (element != null && canCast(element.typeId$, 119)) {
          command = dynamicCast(element, 119);
          command.execute();
        }
      }
       finally {
        wasCanceled = this$static.iterator.last == -1;
        if (wasCanceled) {
          return;
        }
        $remove_10(this$static.iterator);
      }
      if ((new Date).getTime() - startTimeMillis >= 100) {
        return;
      }
    }
  }
   finally {
    if (!wasCanceled) {
      $cancel(this$static.cancellationTimer);
      this$static.executing = false;
      $maybeStartExecutionTimer(this$static);
    }
  }
}

function $maybeStartExecutionTimer(this$static){
  if (this$static.commands.size != 0 && !this$static.executionTimerPending && !this$static.executing) {
    this$static.executionTimerPending = true;
    $schedule(this$static.executionTimer, 1);
  }
}

function $submit(this$static, command){
  $add_13(this$static.commands, command);
  $maybeStartExecutionTimer(this$static);
}

function getClass_318(){
  return Lcom_google_gwt_user_client_CommandExecutor_2_classLit;
}

function CommandExecutor(){
}

_ = CommandExecutor.prototype = new Object_0;
_.getClass$ = getClass_318;
_.typeId$ = 0;
_.executing = false;
_.executionTimerPending = false;
function $clinit_414(){
  $clinit_414 = nullMethod;
  $clinit_1();
}

function $CommandExecutor$1(this$static, this$0){
  $clinit_414();
  this$static.this$0 = this$0;
  return this$static;
}

function getClass_319(){
  return Lcom_google_gwt_user_client_CommandExecutor$1_2_classLit;
}

function run_8(){
  if (!this.this$0.executing) {
    return;
  }
  $doCommandCanceled(this.this$0);
}

function CommandExecutor$1(){
}

_ = CommandExecutor$1.prototype = new Timer;
_.getClass$ = getClass_319;
_.run = run_8;
_.typeId$ = 229;
_.this$0 = null;
function $clinit_415(){
  $clinit_415 = nullMethod;
  $clinit_1();
}

function $CommandExecutor$2(this$static, this$0){
  $clinit_415();
  this$static.this$0 = this$0;
  return this$static;
}

function getClass_320(){
  return Lcom_google_gwt_user_client_CommandExecutor$2_2_classLit;
}

function run_9(){
  this.this$0.executionTimerPending = false;
  $doExecuteCommands(this.this$0, (new Date).getTime());
}

function CommandExecutor$2(){
}

_ = CommandExecutor$2.prototype = new Timer;
_.getClass$ = getClass_320;
_.run = run_9;
_.typeId$ = 230;
_.this$0 = null;
function $CommandExecutor$CircularIterator(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $getLast(this$static){
  return $get_9(this$static.this$0.commands, this$static.last);
}

function $hasNext(this$static){
  return this$static.next < this$static.end;
}

function $next_0(this$static){
  var command;
  this$static.last = this$static.next;
  command = $get_9(this$static.this$0.commands, this$static.next++);
  this$static.next >= this$static.end && (this$static.next = 0);
  return command;
}

function $remove_10(this$static){
  $remove_19(this$static.this$0.commands, this$static.last);
  --this$static.end;
  this$static.last <= this$static.next && --this$static.next < 0 && (this$static.next = 0);
  this$static.last = -1;
}

function getClass_321(){
  return Lcom_google_gwt_user_client_CommandExecutor$CircularIterator_2_classLit;
}

function hasNext_0(){
  return this.next < this.end;
}

function next_1(){
  return $next_0(this);
}

function remove_11(){
  $remove_10(this);
}

function CommandExecutor$CircularIterator(){
}

_ = CommandExecutor$CircularIterator.prototype = new Object_0;
_.getClass$ = getClass_321;
_.hasNext = hasNext_0;
_.next_0 = next_1;
_.remove_2 = remove_11;
_.typeId$ = 0;
_.end = 0;
_.last = -1;
_.next = 0;
_.this$0 = null;
function ensureCookies(){
  if (!cachedCookies || needsRefresh()) {
    cachedCookies = $HashMap(new HashMap);
    loadCookies(cachedCookies);
  }
  return cachedCookies;
}

function loadCookies(m){
  var docCookie = $doc.cookie;
  if (docCookie && docCookie != '') {
    var crumbs = docCookie.split('; ');
    for (var i = 0; i < crumbs.length; ++i) {
      var name_0, value;
      var eqIdx = crumbs[i].indexOf('=');
      if (eqIdx == -1) {
        name_0 = crumbs[i];
        value = '';
      }
       else {
        name_0 = crumbs[i].substring(0, eqIdx);
        value = crumbs[i].substring(eqIdx + 1);
      }
      if (uriEncoding) {
        try {
          name_0 = decodeURIComponent(name_0);
        }
         catch (e) {
        }
        try {
          value = decodeURIComponent(value);
        }
         catch (e) {
        }
      }
      m.put(name_0, value);
    }
  }
}

function needsRefresh(){
  var docCookie = $doc.cookie;
  if (docCookie != rawCookies) {
    rawCookies = docCookie;
    return true;
  }
   else {
    return false;
  }
}

function setCookie(name_0, value, expires, domain, path, secure){
  name_0 = encodeURIComponent(name_0);
  value = encodeURIComponent(value);
  setCookieImpl(name_0, value, toDouble(!expires?P0_longLit:fromDouble((expires.checkJsDate() , expires.jsdate.getTime()))), domain, path, secure);
}

function setCookieImpl(name_0, value, expires, domain, path, secure){
  var c = name_0 + '=' + value;
  expires && (c += ';expires=' + (new Date(expires)).toGMTString());
  domain && (c += ';domain=' + domain);
  path && (c += ';path=' + path);
  secure && (c += ';secure');
  $doc.cookie = c;
}

var cachedCookies = null, rawCookies = null, uriEncoding = true;
function dispatchEvent_0(evt, elem, listener){
  var prevCurrentEvent;
  prevCurrentEvent = currentEvent;
  currentEvent = evt;
  elem == sCaptureElem && $eventGetTypeInt(($clinit_308() , evt).type) == 8192 && (sCaptureElem = null);
  listener.onBrowserEvent(evt);
  currentEvent = prevCurrentEvent;
}

function previewEvent(evt){
  var ret;
  ret = fire_3(handlers_0, evt);
  if (!ret && !!evt) {
    evt.cancelBubble = true;
    ($clinit_308() , evt).preventDefault();
  }
  return ret;
}

var currentEvent = null, sCaptureElem = null;
function $clinit_419(){
  $clinit_419 = nullMethod;
  commandExecutor = $CommandExecutor(new CommandExecutor);
}

function addCommand(cmd){
  $clinit_419();
  if (!cmd) {
    throw $NullPointerException_0(new NullPointerException, 'cmd cannot be null');
  }
  $submit(commandExecutor, cmd);
}

var commandExecutor;
function addNativePreviewHandler(handler){
  $maybeInitializeEventSystem();
  !TYPE_3 && (TYPE_3 = $GwtEvent$Type(new GwtEvent$Type));
  if (!handlers_0) {
    handlers_0 = $HandlerManager_0(new HandlerManager, null, true);
    singleton = new Event$NativePreviewEvent;
  }
  return $addHandler(handlers_0, TYPE_3, handler);
}

var handlers_0 = null;
function $revive_0(this$static){
  this$static.dead = false;
  this$static.source = null;
  this$static.isCanceled = false;
  this$static.isConsumed = false;
  this$static.isFirstHandler = true;
  this$static.nativeEvent = null;
}

function dispatch_3(p0){
  dynamicCast(p0, 120).onPreviewNativeEvent(this);
  singleton.isFirstHandler = false;
}

function fire_3(handlers, nativeEvent){
  var lastIsCanceled, lastIsConsumed, lastIsFirstHandler, lastNativeEvent, ret;
  if (!!TYPE_3 && !!handlers && $containsKey_2(handlers.registry.map, TYPE_3)) {
    lastIsCanceled = singleton.isCanceled;
    lastIsConsumed = singleton.isConsumed;
    lastIsFirstHandler = singleton.isFirstHandler;
    lastNativeEvent = singleton.nativeEvent;
    $revive_0(singleton);
    singleton.nativeEvent = nativeEvent;
    $fireEvent_5(handlers, singleton);
    ret = !(singleton.isCanceled && !singleton.isConsumed);
    singleton.isCanceled = lastIsCanceled;
    singleton.isConsumed = lastIsConsumed;
    singleton.isFirstHandler = lastIsFirstHandler;
    singleton.nativeEvent = lastNativeEvent;
    return ret;
  }
  return true;
}

function getAssociatedType_3(){
  return TYPE_3;
}

function getClass_322(){
  return Lcom_google_gwt_user_client_Event$NativePreviewEvent_2_classLit;
}

function revive_0(){
  $revive_0(this);
}

function Event$NativePreviewEvent(){
}

_ = Event$NativePreviewEvent.prototype = new GwtEvent;
_.dispatch = dispatch_3;
_.getAssociatedType = getAssociatedType_3;
_.getClass$ = getClass_322;
_.revive = revive_0;
_.typeId$ = 0;
_.isCanceled = false;
_.isConsumed = false;
_.isFirstHandler = false;
_.nativeEvent = null;
var TYPE_3 = null, singleton = null;
function $clinit_424(){
  $clinit_424 = nullMethod;
  impl = $HistoryImplMozilla(new HistoryImplMozilla);
  !$init_5(impl) && (impl = null);
}

function addValueChangeHandler(handler){
  $clinit_424();
  return impl?$addValueChangeHandler(impl, handler):null;
}

var impl = null;
function getClass_323(){
  return Lcom_google_gwt_user_client_Timer$1_2_classLit;
}

function onClose(event_0){
  while (($clinit_1() , timers).size > 0) {
    $cancel(dynamicCast($get_9(timers, 0), 121));
  }
}

function Timer$1(){
}

_ = Timer$1.prototype = new Object_0;
_.getClass$ = getClass_323;
_.onClose = onClose;
_.typeId$ = 231;
function addCloseHandler(handler){
  maybeInitializeCloseHandlers();
  return addHandler(TYPE_0?TYPE_0:(TYPE_0 = $GwtEvent$Type(new GwtEvent$Type)), handler);
}

function addHandler(type, handler){
  return $addHandler(getHandlers(), type, handler);
}

function addResizeHandler(handler){
  maybeInitializeCloseHandlers();
  maybeInitializeResizeHandlers();
  return addHandler((!TYPE_1 && (TYPE_1 = $GwtEvent$Type(new GwtEvent$Type)) , TYPE_1), handler);
}

function getHandlers(){
  !handlers_1 && (handlers_1 = $Window$WindowHandlers(new Window$WindowHandlers));
  return handlers_1;
}

function maybeInitializeCloseHandlers(){
  if (!closeHandlersInitialized) {
    $initWindowCloseHandler();
    closeHandlersInitialized = true;
  }
}

function maybeInitializeResizeHandlers(){
  if (!resizeHandlersInitialized) {
    $initWindowResizeHandler();
    resizeHandlersInitialized = true;
  }
}

function onClosing(){
  var event_0;
  if (closeHandlersInitialized) {
    event_0 = ($clinit_427() , new Window$ClosingEvent);
    !!handlers_1 && $fireEvent_5(handlers_1, event_0);
    return null;
  }
  return null;
}

function onResize_6(){
  var height, width;
  if (resizeHandlersInitialized) {
    width = $getClientWidth($doc);
    height = $getClientHeight($doc);
    if (lastResizeWidth != width || lastResizeHeight != height) {
      lastResizeWidth = width;
      lastResizeHeight = height;
      fire_1(getHandlers());
    }
  }
}

var closeHandlersInitialized = false, handlers_1 = null, lastResizeHeight = 0, lastResizeWidth = 0, resizeHandlersInitialized = false;
function $clinit_427(){
  $clinit_427 = nullMethod;
  TYPE_4 = $GwtEvent$Type(new GwtEvent$Type);
}

function dispatch_4(p0){
  throwClassCastExceptionUnlessNull(p0);
  null.nullMethod();
}

function getAssociatedType_4(){
  return TYPE_4;
}

function getClass_324(){
  return Lcom_google_gwt_user_client_Window$ClosingEvent_2_classLit;
}

function Window$ClosingEvent(){
}

_ = Window$ClosingEvent.prototype = new GwtEvent;
_.dispatch = dispatch_4;
_.getAssociatedType = getAssociatedType_4;
_.getClass$ = getClass_324;
_.typeId$ = 0;
var TYPE_4;
function $Window$WindowHandlers(this$static){
  this$static.registry = $HandlerManager$HandlerRegistry(new HandlerManager$HandlerRegistry);
  this$static.source = null;
  this$static.isReverseOrder = false;
  return this$static;
}

function getClass_325(){
  return Lcom_google_gwt_user_client_Window$WindowHandlers_2_classLit;
}

function Window$WindowHandlers(){
}

_ = Window$WindowHandlers.prototype = new HandlerManager;
_.getClass$ = getClass_325;
_.typeId$ = 232;
function $eventGetTypeInt(eventType){
  switch (eventType) {
    case 'blur':
      return 4096;
    case 'change':
      return 1024;
    case 'click':
      return 1;
    case 'dblclick':
      return 2;
    case 'focus':
      return 2048;
    case 'keydown':
      return 128;
    case 'keypress':
      return 256;
    case 'keyup':
      return 512;
    case 'load':
      return 32768;
    case 'losecapture':
      return 8192;
    case 'mousedown':
      return 4;
    case 'mousemove':
      return 64;
    case 'mouseout':
      return 32;
    case 'mouseover':
      return 16;
    case 'mouseup':
      return 8;
    case 'scroll':
      return 16384;
    case 'error':
      return 65536;
    case 'mousewheel':
      return 131072;
    case 'DOMMouseScroll':
      return 131072;
    case 'contextmenu':
      return 262144;
    case 'paste':
      return 524288;
  }
}

function $maybeInitializeEventSystem(){
  if (!eventSystemIsInitialized) {
    $initEventSystem();
    $initSyntheticMouseUpEvents();
    eventSystemIsInitialized = true;
  }
}

function isMyListener(object){
  return !(object != null && object.typeMarker$ != nullMethod && object.typeId$ != 2) && object != null && canCast(object.typeId$, 25);
}

var eventSystemIsInitialized = false;
function $eventGetFromElement(evt){
  if ($equals_4(($clinit_308() , evt).type, 'mouseover')) {
    return $eventGetRelatedTarget(evt);
  }
  if ($equals_4(evt.type, 'mouseout')) {
    return evt.target;
  }
  return null;
}

function $eventGetToElement(evt){
  if ($equals_4(($clinit_308() , evt).type, 'mouseover')) {
    return evt.target;
  }
  if ($equals_4(evt.type, 'mouseout')) {
    return $eventGetRelatedTarget(evt);
  }
  return null;
}

function $getChild_0(elem, index){
  var count = 0, child = elem.firstChild;
  while (child) {
    var next = child.nextSibling;
    if (child.nodeType == 1) {
      if (index == count)
        return child;
      ++count;
    }
    child = next;
  }
  return null;
}

function $getChildCount(elem){
  var count = 0, child = elem.firstChild;
  while (child) {
    child.nodeType == 1 && ++count;
    child = child.nextSibling;
  }
  return count;
}

function $getChildIndex(parent_0, toFind){
  var count = 0, child = parent_0.firstChild;
  while (child) {
    if (child === toFind) {
      return count;
    }
    child.nodeType == 1 && ++count;
    child = child.nextSibling;
  }
  return -1;
}

function $initEventSystem(){
  dispatchCapturedMouseEvent = $entry(function(evt){
    if (dispatchCapturedEvent(evt)) {
      var cap = captureElem;
      if (cap && cap.__listener) {
        if (isMyListener(cap.__listener)) {
          dispatchEvent_0(evt, cap, cap.__listener);
          evt.stopPropagation();
        }
      }
    }
  }
  );
  dispatchCapturedEvent = $entry(function(evt){
    if (!previewEvent(evt)) {
      evt.stopPropagation();
      evt.preventDefault();
      return false;
    }
    return true;
  }
  );
  dispatchEvent_1 = $entry(function(evt){
    var listener, curElem = this;
    while (curElem && !(listener = curElem.__listener)) {
      curElem = curElem.parentNode;
    }
    curElem && curElem.nodeType != 1 && (curElem = null);
    listener && isMyListener(listener) && dispatchEvent_0(evt, curElem, listener);
  }
  );
  $wnd.addEventListener('click', dispatchCapturedMouseEvent, true);
  $wnd.addEventListener('dblclick', dispatchCapturedMouseEvent, true);
  $wnd.addEventListener('mousedown', dispatchCapturedMouseEvent, true);
  $wnd.addEventListener('mouseup', dispatchCapturedMouseEvent, true);
  $wnd.addEventListener('mousemove', dispatchCapturedMouseEvent, true);
  $wnd.addEventListener('mouseover', dispatchCapturedMouseEvent, true);
  $wnd.addEventListener('mouseout', dispatchCapturedMouseEvent, true);
  $wnd.addEventListener('mousewheel', dispatchCapturedMouseEvent, true);
  $wnd.addEventListener('keydown', dispatchCapturedEvent, true);
  $wnd.addEventListener('keyup', dispatchCapturedEvent, true);
  $wnd.addEventListener('keypress', dispatchCapturedEvent, true);
}

function $insertChild_0(parent_0, toAdd, index){
  var count = 0, child = parent_0.firstChild, before = null;
  while (child) {
    if (child.nodeType == 1) {
      if (count == index) {
        before = child;
        break;
      }
      ++count;
    }
    child = child.nextSibling;
  }
  parent_0.insertBefore(toAdd, before);
}

function $sinkEventsImpl(elem, bits){
  var chMask = (elem.__eventBits || 0) ^ bits;
  elem.__eventBits = bits;
  if (!chMask)
    return;
  chMask & 1 && (elem.onclick = bits & 1?dispatchEvent_1:null);
  chMask & 2 && (elem.ondblclick = bits & 2?dispatchEvent_1:null);
  chMask & 4 && (elem.onmousedown = bits & 4?dispatchEvent_1:null);
  chMask & 8 && (elem.onmouseup = bits & 8?dispatchEvent_1:null);
  chMask & 16 && (elem.onmouseover = bits & 16?dispatchEvent_1:null);
  chMask & 32 && (elem.onmouseout = bits & 32?dispatchEvent_1:null);
  chMask & 64 && (elem.onmousemove = bits & 64?dispatchEvent_1:null);
  chMask & 128 && (elem.onkeydown = bits & 128?dispatchEvent_1:null);
  chMask & 256 && (elem.onkeypress = bits & 256?dispatchEvent_1:null);
  chMask & 512 && (elem.onkeyup = bits & 512?dispatchEvent_1:null);
  chMask & 1024 && (elem.onchange = bits & 1024?dispatchEvent_1:null);
  chMask & 2048 && (elem.onfocus = bits & 2048?dispatchEvent_1:null);
  chMask & 4096 && (elem.onblur = bits & 4096?dispatchEvent_1:null);
  chMask & 8192 && (elem.onlosecapture = bits & 8192?dispatchEvent_1:null);
  chMask & 16384 && (elem.onscroll = bits & 16384?dispatchEvent_1:null);
  chMask & 32768 && (elem.onload = bits & 32768?dispatchEvent_1:null);
  chMask & 65536 && (elem.onerror = bits & 65536?dispatchEvent_1:null);
  chMask & 131072 && (elem.onmousewheel = bits & 131072?dispatchEvent_1:null);
  chMask & 262144 && (elem.oncontextmenu = bits & 262144?dispatchEvent_1:null);
  chMask & 524288 && (elem.onpaste = bits & 524288?dispatchEvent_1:null);
}

var captureElem = null, dispatchCapturedEvent = null, dispatchCapturedMouseEvent = null, dispatchEvent_1 = null;
function $initSyntheticMouseUpEvents(){
  $wnd.addEventListener('mouseout', $entry(function(evt){
    var cap = $wnd.__captureElem;
    if (cap && !evt.relatedTarget) {
      if ('html' == evt.target.tagName.toLowerCase()) {
        var muEvent = $doc.createEvent('MouseEvents');
        muEvent.initMouseEvent('mouseup', true, true, $wnd, 0, evt.screenX, evt.screenY, evt.clientX, evt.clientY, evt.ctrlKey, evt.altKey, evt.shiftKey, evt.metaKey, evt.button, null);
        cap.dispatchEvent(muEvent);
      }
    }
  }
  ), true);
  $wnd.addEventListener('DOMMouseScroll', dispatchCapturedMouseEvent, true);
}

function $sinkEvents_1(elem, bits){
  $maybeInitializeEventSystem();
  $sinkEventsImpl(elem, bits);
  bits & 131072 && elem.addEventListener('DOMMouseScroll', dispatchEvent_1, false);
}

function $ElementMapperImpl(this$static){
  this$static.uiObjectList = $ArrayList(new ArrayList);
  return this$static;
}

function $get_7(this$static, elem){
  var index, index_0;
  index = (index_0 = elem['__uiObjectID'] , index_0 == null?-1:index_0);
  if (index < 0) {
    return null;
  }
  return dynamicCast($get_9(this$static.uiObjectList, index), 26);
}

function $removeByElement(this$static, elem){
  var index, index_0;
  index = (index_0 = elem['__uiObjectID'] , index_0 == null?-1:index_0);
  elem['__uiObjectID'] = null;
  $set_13(this$static.uiObjectList, index, null);
}

function getClass_326(){
  return Lcom_google_gwt_user_client_impl_ElementMapperImpl_2_classLit;
}

function ElementMapperImpl(){
}

_ = ElementMapperImpl.prototype = new Object_0;
_.getClass$ = getClass_326;
_.typeId$ = 0;
function $addValueChangeHandler(this$static, handler){
  return $addHandler(this$static.handlers, (!TYPE_2 && (TYPE_2 = $GwtEvent$Type(new GwtEvent$Type)) , TYPE_2), handler);
}

function $newItem(this$static, historyToken, issueEvent){
  historyToken = historyToken == null?'':historyToken;
  if (!$equals_4(historyToken, $wnd.__gwt_historyToken || '')) {
    $wnd.__gwt_historyToken = historyToken;
    $nativeUpdate(this$static, historyToken);
    issueEvent && fire_2(this$static, historyToken);
  }
}

function decodeFragment(encodedFragment){
  return decodeURI(encodedFragment.replace('%23', '#'));
}

function encodeFragment(fragment){
  return encodeURI(fragment).replace('#', '%23');
}

function getClass_327(){
  return Lcom_google_gwt_user_client_impl_HistoryImpl_2_classLit;
}

function newItemOnEvent(historyToken){
  historyToken = historyToken == null?'':historyToken;
  if (!$equals_4(historyToken, $wnd.__gwt_historyToken || '')) {
    $wnd.__gwt_historyToken = historyToken;
    fire_2(this, historyToken);
  }
}

function HistoryImpl(){
}

_ = HistoryImpl.prototype = new Object_0;
_.decodeFragment = decodeFragment;
_.encodeFragment = encodeFragment;
_.getClass$ = getClass_327;
_.newItemOnEvent = newItemOnEvent;
_.typeId$ = 233;
function $init_5(this$static){
  var token_0 = '';
  var hash_0 = $wnd.location.hash;
  hash_0.length > 0 && (token_0 = this$static.decodeFragment(hash_0.substring(1)));
  $wnd.__gwt_historyToken = token_0;
  var historyImpl = this$static;
  $wnd.__checkHistory = $entry(function(){
    $wnd.setTimeout($wnd.__checkHistory, 250);
    var token = '', hash = $wnd.location.hash;
    hash.length > 0 && (token = historyImpl.decodeFragment(hash.substring(1)));
    historyImpl.newItemOnEvent(token);
  }
  );
  $wnd.__checkHistory();
  return true;
}

function getClass_328(){
  return Lcom_google_gwt_user_client_impl_HistoryImplTimer_2_classLit;
}

function HistoryImplTimer(){
}

_ = HistoryImplTimer.prototype = new HistoryImpl;
_.getClass$ = getClass_328;
_.typeId$ = 234;
function $HistoryImplMozilla(this$static){
  this$static.handlers = $HandlerManager(new HandlerManager, null);
  return this$static;
}

function $nativeUpdate(this$static, historyToken){
  if (historyToken.length == 0) {
    var s = $wnd.location.href;
    var i = s.indexOf('#');
    i != -1 && (s = s.substring(0, i));
    $wnd.location = s + '#';
  }
   else {
    $wnd.location.hash = this$static.encodeFragment(historyToken);
  }
}

function decodeFragment_0(encodedFragment){
  return encodedFragment;
}

function getClass_329(){
  return Lcom_google_gwt_user_client_impl_HistoryImplMozilla_2_classLit;
}

function HistoryImplMozilla(){
}

_ = HistoryImplMozilla.prototype = new HistoryImplTimer;
_.decodeFragment = decodeFragment_0;
_.getClass$ = getClass_329;
_.typeId$ = 235;
function $initWindowCloseHandler(){
  var oldOnBeforeUnload = $wnd.onbeforeunload;
  var oldOnUnload = $wnd.onunload;
  $wnd.onbeforeunload = function(evt){
    var ret, oldRet;
    try {
      ret = $entry(onClosing)();
    }
     finally {
      oldRet = oldOnBeforeUnload && oldOnBeforeUnload(evt);
    }
    if (ret != null) {
      return ret;
    }
    if (oldRet != null) {
      return oldRet;
    }
  }
  ;
  $wnd.onunload = $entry(function(evt){
    try {
      closeHandlersInitialized && fire_0(getHandlers());
    }
     finally {
      oldOnUnload && oldOnUnload(evt);
      $wnd.onresize = null;
      $wnd.onscroll = null;
      $wnd.onbeforeunload = null;
      $wnd.onunload = null;
    }
  }
  );
}

function $initWindowResizeHandler(){
  var oldOnResize = $wnd.onresize;
  $wnd.onresize = $entry(function(evt){
    try {
      onResize_6();
    }
     finally {
      oldOnResize && oldOnResize(evt);
    }
  }
  );
}

function doAttachChildren_8(){
  tryCommand(this, ($clinit_442() , attachCommand));
}

function doDetachChildren_9(){
  tryCommand(this, ($clinit_442() , detachCommand));
}

function getClass_330(){
  return Lcom_google_gwt_user_client_ui_Panel_2_classLit;
}

function onLoad_1(){
}

function onUnload_1(){
}

function Panel(){
}

_ = Panel.prototype = new Widget;
_.doAttachChildren = doAttachChildren_8;
_.doDetachChildren = doDetachChildren_9;
_.getClass$ = getClass_330;
_.onLoad = onLoad_1;
_.onUnload = onUnload_1;
_.typeId$ = 236;
function $add_9(this$static, child, container){
  $removeFromParent_1(child);
  $add_12(this$static.children_0, child);
  container.appendChild(child.getElement());
  $setParent(child, this$static);
}

function $remove_11(this$static, w){
  var elem, parent_0;
  if (w.parent_0 != this$static) {
    return false;
  }
  try {
    $setParent(w, null);
  }
   finally {
    elem = w.getElement();
    (parent_0 = ($clinit_308() , elem).parentNode , (!parent_0 || parent_0.nodeType != 1) && (parent_0 = null) , parent_0).removeChild(elem);
    $remove_15(this$static.children_0, w);
  }
  return true;
}

function getClass_331(){
  return Lcom_google_gwt_user_client_ui_ComplexPanel_2_classLit;
}

function iterator_3(){
  return $WidgetCollection$WidgetIterator(new WidgetCollection$WidgetIterator, this.children_0);
}

function remove_12(w){
  return $remove_11(this, w);
}

function ComplexPanel(){
}

_ = ComplexPanel.prototype = new Panel;
_.getClass$ = getClass_331;
_.iterator_0 = iterator_3;
_.remove_4 = remove_12;
_.typeId$ = 237;
function $add_10(this$static, w){
  $add_9(this$static, w, this$static.element);
}

function $remove_12(this$static, w){
  var removed;
  removed = $remove_11(this$static, w);
  removed && changeToStaticPositioning(w.getElement());
  return removed;
}

function changeToStaticPositioning(elem){
  elem.style['left'] = '';
  elem.style['top'] = '';
  elem.style['position'] = '';
}

function getClass_332(){
  return Lcom_google_gwt_user_client_ui_AbsolutePanel_2_classLit;
}

function remove_13(w){
  var removed;
  return removed = $remove_11(this, w) , removed && changeToStaticPositioning(w.getElement()) , removed;
}

function AbsolutePanel(){
}

_ = AbsolutePanel.prototype = new ComplexPanel;
_.getClass$ = getClass_332;
_.remove_4 = remove_13;
_.typeId$ = 238;
function getClass_333(){
  return Lcom_google_gwt_user_client_ui_AbstractImagePrototype_2_classLit;
}

function AbstractImagePrototype(){
}

_ = AbstractImagePrototype.prototype = new Object_0;
_.getClass$ = getClass_333;
_.typeId$ = 0;
function $clinit_442(){
  $clinit_442 = nullMethod;
  attachCommand = new AttachDetachException$1;
  detachCommand = new AttachDetachException$2;
}

function $AttachDetachException(this$static, causes){
  $clinit_442();
  $Throwable(this$static, 'One or more exceptions caught, see full set in AttachDetachException#getCauses', causes.map.size == 0?null:dynamicCast($toArray(causes, initDim(_3Ljava_lang_Throwable_2_classLit, 341, 38, 0, 0)), 122)[0]);
  return this$static;
}

function getClass_334(){
  return Lcom_google_gwt_user_client_ui_AttachDetachException_2_classLit;
}

function tryCommand(hasWidgets, c){
  var old;
  $clinit_442();
  var $e0, caught, e, w, w$iterator;
  caught = null;
  for (w$iterator = hasWidgets.iterator_0(); w$iterator.hasNext();) {
    w = dynamicCast(w$iterator.next_0(), 27);
    try {
      c.execute_1(w);
    }
     catch ($e0) {
      $e0 = caught_0($e0);
      if (instanceOf($e0, 38)) {
        e = $e0;
        !caught && (caught = $HashSet(new HashSet));
        old = $put_4(caught.map, e, caught);
      }
       else 
        throw $e0;
    }
  }
  if (caught) {
    throw $AttachDetachException(new AttachDetachException, caught);
  }
}

function AttachDetachException(){
}

_ = AttachDetachException.prototype = new RuntimeException;
_.getClass$ = getClass_334;
_.typeId$ = 239;
var attachCommand, detachCommand;
function execute_14(w){
  w.onAttach();
}

function getClass_335(){
  return Lcom_google_gwt_user_client_ui_AttachDetachException$1_2_classLit;
}

function AttachDetachException$1(){
}

--></script>
<script><!--
_ = AttachDetachException$1.prototype = new Object_0;
_.execute_1 = execute_14;
_.getClass$ = getClass_335;
_.typeId$ = 0;
function execute_15(w){
  w.onDetach();
}

function getClass_336(){
  return Lcom_google_gwt_user_client_ui_AttachDetachException$2_2_classLit;
}

function AttachDetachException$2(){
}

_ = AttachDetachException$2.prototype = new Object_0;
_.execute_1 = execute_15;
_.getClass$ = getClass_336;
_.typeId$ = 0;
function getClass_337(){
  return Lcom_google_gwt_user_client_ui_CellPanel_2_classLit;
}

function CellPanel(){
}

_ = CellPanel.prototype = new ComplexPanel;
_.getClass$ = getClass_337;
_.typeId$ = 240;
_.body_0 = null;
_.table = null;
function $checkCellBounds(this$static, row, column){
  var cellSize;
  $checkRowBounds(this$static, row);
  if (column < 0) {
    throw $IndexOutOfBoundsException_0(new IndexOutOfBoundsException, 'Column ' + column + ' must be non-negative: ' + column);
  }
  cellSize = this$static.numColumns;
  if (cellSize <= column) {
    throw $IndexOutOfBoundsException_0(new IndexOutOfBoundsException, 'Column index: ' + column + ', Column size: ' + this$static.numColumns);
  }
}

function $checkRowBounds(this$static, row){
  var rowSize;
  rowSize = this$static.numRows;
  if (row >= rowSize || row < 0) {
    throw $IndexOutOfBoundsException_0(new IndexOutOfBoundsException, 'Row index: ' + row + ', Row size: ' + rowSize);
  }
}

function $internalClearCell(this$static, td, clearInnerHTML){
  var maybeChild, widget;
  maybeChild = $getFirstChildElement(($clinit_308() , td));
  widget = null;
  !!maybeChild && (widget = dynamicCast($get_7(this$static.widgetMap, maybeChild), 27));
  if (widget) {
    $remove_13(this$static, widget);
    return true;
  }
   else {
    clearInnerHTML && (td.innerHTML = '' , undefined);
    return false;
  }
}

function $remove_13(this$static, widget){
  var elem, parent_0;
  if (widget.parent_0 != this$static) {
    return false;
  }
  try {
    $setParent(widget, null);
  }
   finally {
    elem = widget.getElement();
    (parent_0 = ($clinit_308() , elem).parentNode , (!parent_0 || parent_0.nodeType != 1) && (parent_0 = null) , parent_0).removeChild(elem);
    $removeByElement(this$static.widgetMap, elem);
  }
  return true;
}

function $removeRow(this$static, row){
  var column, columnCount, td;
  columnCount = this$static.numColumns;
  for (column = 0; column < columnCount; ++column) {
    td = this$static.cellFormatter.this$0.bodyElem.rows[row].cells[column];
    $internalClearCell(this$static, td, false);
  }
  this$static.bodyElem.removeChild(this$static.bodyElem.rows[row]);
}

function $setColumnFormatter(this$static, formatter){
  this$static.columnFormatter = formatter;
  $prepareColumnGroup(this$static.columnFormatter);
}

function $setHTML(this$static, row, column, html){
  var td, td_0;
  $prepareCell(this$static, row, column);
  td = (td_0 = this$static.cellFormatter.this$0.bodyElem.rows[row].cells[column] , $internalClearCell(this$static, td_0, html == null) , td_0);
  html != null && (td.innerHTML = html || '' , undefined);
}

function getClass_338(){
  return Lcom_google_gwt_user_client_ui_HTMLTable_2_classLit;
}

function iterator_4(){
  return $HTMLTable$1(new HTMLTable$1, this);
}

function remove_14(widget){
  return $remove_13(this, widget);
}

function HTMLTable(){
}

_ = HTMLTable.prototype = new Panel;
_.getClass$ = getClass_338;
_.iterator_0 = iterator_4;
_.remove_4 = remove_14;
_.typeId$ = 241;
_.bodyElem = null;
_.cellFormatter = null;
_.columnFormatter = null;
_.tableElem = null;
function $Grid_0(this$static, rows, columns){
  this$static.widgetMap = $ElementMapperImpl(new ElementMapperImpl);
  this$static.tableElem = ($clinit_308() , $doc).createElement('table');
  this$static.bodyElem = $doc.createElement('tbody');
  this$static.tableElem.appendChild(this$static.bodyElem);
  this$static.element = this$static.tableElem;
  this$static.cellFormatter = $HTMLTable$CellFormatter(new HTMLTable$CellFormatter, this$static);
  $setColumnFormatter(this$static, $HTMLTable$ColumnFormatter(new HTMLTable$ColumnFormatter, this$static));
  $resizeColumns(this$static, columns);
  $resizeRows(this$static, rows);
  return this$static;
}

function $prepareCell(this$static, row, column){
  $prepareRow(this$static, row);
  if (column < 0) {
    throw $IndexOutOfBoundsException_0(new IndexOutOfBoundsException, 'Cannot access a column with a negative index: ' + column);
  }
  if (column >= this$static.numColumns) {
    throw $IndexOutOfBoundsException_0(new IndexOutOfBoundsException, 'Column index: ' + column + ', Column size: ' + this$static.numColumns);
  }
}

function $prepareRow(this$static, row){
  if (row < 0) {
    throw $IndexOutOfBoundsException_0(new IndexOutOfBoundsException, 'Cannot access a row with a negative index: ' + row);
  }
  if (row >= this$static.numRows) {
    throw $IndexOutOfBoundsException_0(new IndexOutOfBoundsException, 'Row index: ' + row + ', Row size: ' + this$static.numRows);
  }
}

function $removeRow_0(this$static, row){
  $removeRow(this$static, row);
  --this$static.numRows;
}

function $resizeColumns(this$static, columns){
  var i, j, td, tr, td_0, td_1, tr_0, td_2;
  if (this$static.numColumns == columns) {
    return;
  }
  if (columns < 0) {
    throw $IndexOutOfBoundsException_0(new IndexOutOfBoundsException, 'Cannot set number of columns to ' + columns);
  }
  if (this$static.numColumns > columns) {
    for (i = 0; i < this$static.numRows; ++i) {
      for (j = this$static.numColumns - 1; j >= columns; --j) {
        $checkCellBounds(this$static, i, j);
        td = (td_0 = this$static.cellFormatter.this$0.bodyElem.rows[i].cells[j] , $internalClearCell(this$static, td_0, false) , td_0);
        tr = this$static.bodyElem.rows[i];
        tr.removeChild(td);
      }
    }
  }
   else {
    for (i = 0; i < this$static.numRows; ++i) {
      for (j = this$static.numColumns; j < columns; ++j) {
        tr_0 = this$static.bodyElem.rows[i];
        td_1 = (td_2 = ($clinit_308() , $doc).createElement('td') , td_2.innerHTML = '&nbsp;' , td_2);
        $insertChild_0(tr_0, td_1, j);
      }
    }
  }
  this$static.numColumns = columns;
}

function $resizeRows(this$static, rows){
  if (this$static.numRows == rows) {
    return;
  }
  if (rows < 0) {
    throw $IndexOutOfBoundsException_0(new IndexOutOfBoundsException, 'Cannot set number of rows to ' + rows);
  }
  if (this$static.numRows < rows) {
    addRows(this$static.bodyElem, rows - this$static.numRows, this$static.numColumns);
    this$static.numRows = rows;
  }
   else {
    while (this$static.numRows > rows) {
      $removeRow_0(this$static, this$static.numRows - 1);
    }
  }
}

function addRows(table, rows, columns){
  var td = $doc.createElement('td');
  td.innerHTML = '&nbsp;';
  var row = $doc.createElement('tr');
  for (var cellNum = 0; cellNum < columns; cellNum++) {
    var cell = td.cloneNode(true);
    row.appendChild(cell);
  }
  table.appendChild(row);
  for (var rowNum = 1; rowNum < rows; rowNum++) {
    table.appendChild(row.cloneNode(true));
  }
}

function getClass_339(){
  return Lcom_google_gwt_user_client_ui_Grid_2_classLit;
}

function Grid(){
}

_ = Grid.prototype = new HTMLTable;
_.getClass$ = getClass_339;
_.typeId$ = 242;
_.numColumns = 0;
_.numRows = 0;
function $HTMLTable$1(this$static, this$0){
  this$static.this$0 = this$0;
  this$static.widgetList = this$static.this$0.widgetMap.uiObjectList;
  $findNext(this$static);
  return this$static;
}

function $findNext(this$static){
  while (++this$static.nextIndex < this$static.widgetList.size) {
    if ($get_9(this$static.widgetList, this$static.nextIndex) != null) {
      return;
    }
  }
}

function $next_1(this$static){
  var result;
  if (this$static.nextIndex >= this$static.widgetList.size) {
    throw $NoSuchElementException(new NoSuchElementException);
  }
  result = dynamicCast($get_9(this$static.widgetList, this$static.nextIndex), 27);
  this$static.lastIndex_0 = this$static.nextIndex;
  $findNext(this$static);
  return result;
}

function getClass_340(){
  return Lcom_google_gwt_user_client_ui_HTMLTable$1_2_classLit;
}

function hasNext_1(){
  return this.nextIndex < this.widgetList.size;
}

function next_2(){
  return $next_1(this);
}

function remove_15(){
  var w;
  if (this.lastIndex_0 < 0) {
    throw $IllegalStateException(new IllegalStateException);
  }
  w = dynamicCast($get_9(this.widgetList, this.lastIndex_0), 27);
  w.removeFromParent();
  this.lastIndex_0 = -1;
}

function HTMLTable$1(){
}

_ = HTMLTable$1.prototype = new Object_0;
_.getClass$ = getClass_340;
_.hasNext = hasNext_1;
_.next_0 = next_2;
_.remove_2 = remove_15;
_.typeId$ = 0;
_.lastIndex_0 = -1;
_.nextIndex = -1;
_.this$0 = null;
function $HTMLTable$CellFormatter(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function getClass_341(){
  return Lcom_google_gwt_user_client_ui_HTMLTable$CellFormatter_2_classLit;
}

function HTMLTable$CellFormatter(){
}

_ = HTMLTable$CellFormatter.prototype = new Object_0;
_.getClass$ = getClass_341;
_.typeId$ = 0;
_.this$0 = null;
function $HTMLTable$ColumnFormatter(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $prepareColumnGroup(this$static){
  if (!this$static.columnGroup) {
    this$static.columnGroup = ($clinit_308() , $doc).createElement('colgroup');
    $insertChild_0(this$static.this$0.tableElem, this$static.columnGroup, 0);
    this$static.columnGroup.appendChild($doc.createElement('col'));
  }
}

function getClass_342(){
  return Lcom_google_gwt_user_client_ui_HTMLTable$ColumnFormatter_2_classLit;
}

function HTMLTable$ColumnFormatter(){
}

_ = HTMLTable$ColumnFormatter.prototype = new Object_0;
_.getClass$ = getClass_342;
_.typeId$ = 0;
_.columnGroup = null;
_.this$0 = null;
function $clinit_454(){
  $clinit_454 = nullMethod;
  ALIGN_CENTER = $HasHorizontalAlignment$HorizontalAlignmentConstant(new HasHorizontalAlignment$HorizontalAlignmentConstant, 'center');
  ALIGN_LEFT = $HasHorizontalAlignment$HorizontalAlignmentConstant(new HasHorizontalAlignment$HorizontalAlignmentConstant, 'left');
  $HasHorizontalAlignment$HorizontalAlignmentConstant(new HasHorizontalAlignment$HorizontalAlignmentConstant, 'right');
  ALIGN_DEFAULT = ($clinit_376() , ALIGN_LEFT);
}

var ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_LEFT;
function $HasHorizontalAlignment$HorizontalAlignmentConstant(this$static, textAlignString){
  this$static.textAlignString = textAlignString;
  return this$static;
}

function getClass_343(){
  return Lcom_google_gwt_user_client_ui_HasHorizontalAlignment$HorizontalAlignmentConstant_2_classLit;
}

function HasHorizontalAlignment$HorizontalAlignmentConstant(){
}

_ = HasHorizontalAlignment$HorizontalAlignmentConstant.prototype = new Object_0;
_.getClass$ = getClass_343;
_.typeId$ = 0;
_.textAlignString = null;
function $clinit_456(){
  $clinit_456 = nullMethod;
  $HasVerticalAlignment$VerticalAlignmentConstant(new HasVerticalAlignment$VerticalAlignmentConstant, 'bottom');
  $HasVerticalAlignment$VerticalAlignmentConstant(new HasVerticalAlignment$VerticalAlignmentConstant, 'middle');
  ALIGN_TOP = $HasVerticalAlignment$VerticalAlignmentConstant(new HasVerticalAlignment$VerticalAlignmentConstant, 'top');
}

var ALIGN_TOP;
function $HasVerticalAlignment$VerticalAlignmentConstant(this$static, verticalAlignString){
  this$static.verticalAlignString = verticalAlignString;
  return this$static;
}

function getClass_344(){
  return Lcom_google_gwt_user_client_ui_HasVerticalAlignment$VerticalAlignmentConstant_2_classLit;
}

function HasVerticalAlignment$VerticalAlignmentConstant(){
}

_ = HasVerticalAlignment$VerticalAlignmentConstant.prototype = new Object_0;
_.getClass$ = getClass_344;
_.typeId$ = 0;
_.verticalAlignString = null;
function $HorizontalPanel_0(this$static){
  this$static.children_0 = $WidgetCollection(new WidgetCollection, this$static);
  this$static.table = ($clinit_308() , $doc).createElement('table');
  this$static.body_0 = $doc.createElement('tbody');
  this$static.table.appendChild(this$static.body_0);
  this$static.element = this$static.table;
  this$static.horzAlign = ($clinit_454() , ALIGN_DEFAULT);
  this$static.vertAlign = ($clinit_456() , ALIGN_TOP);
  this$static.tableRow = $doc.createElement('tr');
  this$static.body_0.appendChild(this$static.tableRow);
  this$static.table['cellSpacing'] = '0';
  this$static.table['cellPadding'] = '0';
  return this$static;
}

function $add_11(this$static, w){
  var td, td_0;
  td = (td_0 = ($clinit_308() , $doc).createElement('td') , td_0['align'] = this$static.horzAlign.textAlignString , td_0.style['verticalAlign'] = this$static.vertAlign.verticalAlignString , td_0);
  this$static.tableRow.appendChild(td);
  $removeFromParent_1(w);
  $add_12(this$static.children_0, w);
  td.appendChild(w.getElement());
  $setParent(w, this$static);
}

function getClass_345(){
  return Lcom_google_gwt_user_client_ui_HorizontalPanel_2_classLit;
}

function remove_16(w){
  var removed, td, parent_0;
  td = (parent_0 = ($clinit_308() , w.getElement()).parentNode , (!parent_0 || parent_0.nodeType != 1) && (parent_0 = null) , parent_0);
  removed = $remove_11(this, w);
  removed && this.tableRow.removeChild(td);
  return removed;
}

function HorizontalPanel_0(){
}

_ = HorizontalPanel_0.prototype = new CellPanel;
_.getClass$ = getClass_345;
_.remove_4 = remove_16;
_.typeId$ = 243;
_.tableRow = null;
function $clinit_460(){
  $clinit_460 = nullMethod;
  $clearImpl(new HashMap);
}

function $Image(this$static, url, left, top_0, width, height){
  $clinit_460();
  $Image$ClippedState(new Image$ClippedState, this$static, url, left, top_0, width, height);
  this$static.element['className'] = 'gwt-Image';
  return this$static;
}

function getClass_346(){
  return Lcom_google_gwt_user_client_ui_Image_2_classLit;
}

function Image_0(){
}

_ = Image_0.prototype = new Widget;
_.getClass$ = getClass_346;
_.typeId$ = 244;
function getClass_347(){
  return Lcom_google_gwt_user_client_ui_Image$State_2_classLit;
}

function Image$State(){
}

_ = Image$State.prototype = new Object_0;
_.getClass$ = getClass_347;
_.typeId$ = 0;
function $Image$ClippedState(this$static, image, url, left, top_0, width, height){
  var tmp, style_1;
  $replaceElement_0(image, (tmp = ($clinit_308() , $doc).createElement('span') , tmp.innerHTML = (style_1 = 'width: ' + width + 'px; height: ' + height + 'px; background: url(' + url + ') no-repeat ' + -left + 'px ' + -top_0 + 'px' , "<img src='" + $moduleBase + "clear.cache.gif' style='" + style_1 + "' border='0'>") || '' , $getFirstChildElement(tmp)));
  $sinkEvents(image, 163965);
  return this$static;
}

function getClass_348(){
  return Lcom_google_gwt_user_client_ui_Image$ClippedState_2_classLit;
}

function Image$ClippedState(){
}

_ = Image$ClippedState.prototype = new Image$State;
_.getClass$ = getClass_348;
_.typeId$ = 0;
function $clinit_465(){
  $clinit_465 = nullMethod;
  maybeDetachCommand = new RootPanel$1;
  rootPanels = $HashMap(new HashMap);
  widgetsToDetach = $HashSet(new HashSet);
}

function $RootPanel(this$static, elem){
  $clinit_465();
  this$static.children_0 = $WidgetCollection(new WidgetCollection, this$static);
  this$static.element = elem;
  $onAttach_0(this$static);
  return this$static;
}

function detachNow(widget){
  $clinit_465();
  try {
    widget.onDetach();
  }
   finally {
    $remove_16(widgetsToDetach.map, widget) != null;
  }
}

function detachWidgets(){
  $clinit_465();
  try {
    tryCommand(widgetsToDetach, maybeDetachCommand);
  }
   finally {
    $clearImpl(widgetsToDetach.map);
    $clearImpl(rootPanels);
  }
}

function get_8(id){
  $clinit_465();
  var rp;
  rp = dynamicCast($get_8(rootPanels, id), 123);
  if (rp) {
    return rp;
  }
  if (rootPanels.size == 0) {
    addCloseHandler(new RootPanel$2);
    $clinit_376();
  }
  rp = $RootPanel$DefaultRootPanel(new RootPanel$DefaultRootPanel);
  $put_4(rootPanels, id, rp);
  $add_15(widgetsToDetach, rp);
  return rp;
}

function getClass_349(){
  return Lcom_google_gwt_user_client_ui_RootPanel_2_classLit;
}

function RootPanel(){
}

_ = RootPanel.prototype = new AbsolutePanel;
_.getClass$ = getClass_349;
_.typeId$ = 245;
var maybeDetachCommand, rootPanels, widgetsToDetach;
function execute_16(w){
  w.isAttached() && w.onDetach();
}

function getClass_350(){
  return Lcom_google_gwt_user_client_ui_RootPanel$1_2_classLit;
}

function RootPanel$1(){
}

_ = RootPanel$1.prototype = new Object_0;
_.execute_1 = execute_16;
_.getClass$ = getClass_350;
_.typeId$ = 0;
function getClass_351(){
  return Lcom_google_gwt_user_client_ui_RootPanel$2_2_classLit;
}

function onClose_0(closeEvent){
  detachWidgets();
}

function RootPanel$2(){
}

_ = RootPanel$2.prototype = new Object_0;
_.getClass$ = getClass_351;
_.onClose = onClose_0;
_.typeId$ = 246;
function $clinit_468(){
  $clinit_468 = nullMethod;
  $clinit_465();
}

function $RootPanel$DefaultRootPanel(this$static){
  $clinit_468();
  $RootPanel(this$static, $doc.body);
  return this$static;
}

function getClass_352(){
  return Lcom_google_gwt_user_client_ui_RootPanel$DefaultRootPanel_2_classLit;
}

function RootPanel$DefaultRootPanel(){
}

_ = RootPanel$DefaultRootPanel.prototype = new RootPanel;
_.getClass$ = getClass_352;
_.typeId$ = 247;
function $WidgetCollection(this$static, parent_0){
  this$static.parent_0 = parent_0;
  this$static.array = initDim(_3Lcom_google_gwt_user_client_ui_Widget_2_classLit, 326, 27, 4, 0);
  return this$static;
}

function $add_12(this$static, w){
  $insert_6(this$static, w, this$static.size);
}

function $indexOf_0(this$static, w){
  var i;
  for (i = 0; i < this$static.size; ++i) {
    if (this$static.array[i] == w) {
      return i;
    }
  }
  return -1;
}

function $insert_6(this$static, w, beforeIndex){
  var i, newArray;
  if (beforeIndex < 0 || beforeIndex > this$static.size) {
    throw $IndexOutOfBoundsException(new IndexOutOfBoundsException);
  }
  if (this$static.size == this$static.array.length) {
    newArray = initDim(_3Lcom_google_gwt_user_client_ui_Widget_2_classLit, 326, 27, this$static.array.length * 2, 0);
    for (i = 0; i < this$static.array.length; ++i) {
      setCheck(newArray, i, this$static.array[i]);
    }
    this$static.array = newArray;
  }
  ++this$static.size;
  for (i = this$static.size - 1; i > beforeIndex; --i) {
    setCheck(this$static.array, i, this$static.array[i - 1]);
  }
  setCheck(this$static.array, beforeIndex, w);
}

function $remove_14(this$static, index){
  var i;
  if (index < 0 || index >= this$static.size) {
    throw $IndexOutOfBoundsException(new IndexOutOfBoundsException);
  }
  --this$static.size;
  for (i = index; i < this$static.size; ++i) {
    setCheck(this$static.array, i, this$static.array[i + 1]);
  }
  setCheck(this$static.array, this$static.size, null);
}

function $remove_15(this$static, w){
  var index;
  index = $indexOf_0(this$static, w);
  if (index == -1) {
    throw $NoSuchElementException(new NoSuchElementException);
  }
  $remove_14(this$static, index);
}

function getClass_353(){
  return Lcom_google_gwt_user_client_ui_WidgetCollection_2_classLit;
}

function iterator_5(){
  return $WidgetCollection$WidgetIterator(new WidgetCollection$WidgetIterator, this);
}

function WidgetCollection(){
}

_ = WidgetCollection.prototype = new Object_0;
_.getClass$ = getClass_353;
_.iterator_0 = iterator_5;
_.typeId$ = 0;
_.array = null;
_.parent_0 = null;
_.size = 0;
function $WidgetCollection$WidgetIterator(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $next_2(this$static){
  if (this$static.index_0 >= this$static.this$0.size) {
    throw $NoSuchElementException(new NoSuchElementException);
  }
  return this$static.this$0.array[++this$static.index_0];
}

function getClass_354(){
  return Lcom_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_2_classLit;
}

function hasNext_2(){
  return this.index_0 < this.this$0.size - 1;
}

function next_3(){
  return $next_2(this);
}

function remove_17(){
  if (this.index_0 < 0 || this.index_0 >= this.this$0.size) {
    throw $IllegalStateException(new IllegalStateException);
  }
  this.this$0.parent_0.remove_4(this.this$0.array[this.index_0--]);
}

function WidgetCollection$WidgetIterator(){
}

_ = WidgetCollection$WidgetIterator.prototype = new Object_0;
_.getClass$ = getClass_354;
_.hasNext = hasNext_2;
_.next_0 = next_3;
_.remove_2 = remove_17;
_.typeId$ = 0;
_.index_0 = -1;
_.this$0 = null;
function $createStructure(url, left, top_0, width, height){
  var tmp, style_1;
  tmp = ($clinit_308() , $doc).createElement('span');
  tmp.innerHTML = (style_1 = 'width: ' + width + 'px; height: ' + height + 'px; background: url(' + url + ') no-repeat ' + -left + 'px ' + -top_0 + 'px' , "<img src='" + $moduleBase + "clear.cache.gif' style='" + style_1 + "' border='0'>") || '';
  return $getFirstChildElement(tmp);
}

function $ClippedImagePrototype(this$static, url, left, top_0, width, height){
  this$static.url = url;
  this$static.left_0 = left;
  this$static.top_0 = top_0;
  this$static.width = width;
  this$static.height = height;
  return this$static;
}

function $createImage(this$static){
  return $Image(new Image_0, this$static.url, this$static.left_0, this$static.top_0, this$static.width, this$static.height);
}

function getClass_355(){
  return Lcom_google_gwt_user_client_ui_impl_ClippedImagePrototype_2_classLit;
}

function ClippedImagePrototype(){
}

_ = ClippedImagePrototype.prototype = new AbstractImagePrototype;
_.getClass$ = getClass_355;
_.typeId$ = 0;
_.height = 0;
_.left_0 = 0;
_.top_0 = 0;
_.url = null;
_.width = 0;
function $getContents(iframe){
  try {
    if (!iframe.contentWindow || !iframe.contentWindow.document)
      return null;
    return iframe.contentWindow.document.body.innerHTML;
  }
   catch (e) {
    return null;
  }
}

function $hookEvents(iframe, form, listener){
  iframe && (iframe.onload = $entry(function(){
    if (!iframe.__formAction)
      return;
    listener.onFrameLoad();
  }
  ));
  form.onsubmit = $entry(function(){
    iframe && (iframe.__formAction = form.action);
    return listener.onFormSubmit();
  }
  );
}

function $unhookEvents(iframe, form){
  iframe && (iframe.onload = null);
  form.onsubmit = null;
}

function $setSelectionRange(elem, pos, length_0){
  try {
    elem.setSelectionRange(pos, pos + length_0);
  }
   catch (e) {
  }
}

function $ArithmeticException(this$static, explanation){
  $fillInStackTrace();
  this$static.detailMessage = explanation;
  return this$static;
}

function getClass_356(){
  return Ljava_lang_ArithmeticException_2_classLit;
}

function ArithmeticException(){
}

_ = ArithmeticException.prototype = new RuntimeException;
_.getClass$ = getClass_356;
_.typeId$ = 248;
function $ArrayStoreException(this$static){
  $fillInStackTrace();
  return this$static;
}

function getClass_357(){
  return Ljava_lang_ArrayStoreException_2_classLit;
}

function ArrayStoreException(){
}

_ = ArrayStoreException.prototype = new RuntimeException;
_.getClass$ = getClass_357;
_.typeId$ = 249;
function $clinit_484(){
  $clinit_484 = nullMethod;
  FALSE_0 = $Boolean(new Boolean_0, false);
  TRUE_0 = $Boolean(new Boolean_0, true);
}

function $Boolean(this$static, value){
  $clinit_484();
  this$static.value = value;
  return this$static;
}

function compareTo_1(p0){
  return this.value == dynamicCast(p0, 3).value?0:this.value?1:-1;
}

function equals_14(o){
  return o != null && canCast(o.typeId$, 3) && dynamicCast(o, 3).value == this.value;
}

function getClass_358(){
  return Ljava_lang_Boolean_2_classLit;
}

function hashCode_13(){
  return this.value?1231:1237;
}

function toString_27(){
  return this.value?'true':'false';
}

function Boolean_0(){
}

_ = Boolean_0.prototype = new Object_0;
_.compareTo$ = compareTo_1;
_.equals$ = equals_14;
_.getClass$ = getClass_358;
_.hashCode$ = hashCode_13;
_.toString$ = toString_27;
_.typeId$ = 252;
_.value = false;
var FALSE_0, TRUE_0;
function $Character(this$static, value){
  this$static.value = value;
  return this$static;
}

function compareTo_2(p0){
  return this.value - dynamicCast(p0, 30).value;
}

function digit_0(c, radix){
  if (radix < 2 || radix > 36) {
    return -1;
  }
  if (c >= 48 && c < 48 + (radix < 10?radix:10)) {
    return c - 48;
  }
  if (c >= 97 && c < radix + 97 - 10) {
    return c - 97 + 10;
  }
  if (c >= 65 && c < radix + 65 - 10) {
    return c - 65 + 10;
  }
  return -1;
}

function equals_15(o){
  return o != null && canCast(o.typeId$, 30) && dynamicCast(o, 30).value == this.value;
}

function getClass_359(){
  return Ljava_lang_Character_2_classLit;
}

function hashCode_14(){
  return this.value;
}

function toString_28(){
  return String.fromCharCode(this.value);
}

function valueOf(c){
  var result;
  if (c < 128) {
    result = ($clinit_487() , boxedValues_0)[c];
    !result && (result = boxedValues_0[c] = $Character(new Character, c));
    return result;
  }
  return $Character(new Character, c);
}

function Character(){
}

_ = Character.prototype = new Object_0;
_.compareTo$ = compareTo_2;
_.equals$ = equals_15;
_.getClass$ = getClass_359;
_.hashCode$ = hashCode_14;
_.toString$ = toString_28;
_.typeId$ = 253;
_.value = 0;
function $clinit_487(){
  $clinit_487 = nullMethod;
  boxedValues_0 = initDim(_3Ljava_lang_Character_2_classLit, 331, 30, 128, 0);
}

var boxedValues_0;
function createForArray(packageName, className){
  var clazz;
  clazz = new Class;
  clazz.typeName = packageName + className;
  clazz.modifiers = 4;
  return clazz;
}

function createForClass(packageName, className){
  var clazz;
  clazz = new Class;
  clazz.typeName = packageName + className;
  return clazz;
}

function createForEnum(packageName, className, enumConstantsFunc){
  var clazz;
  clazz = new Class;
  clazz.typeName = packageName + className;
  clazz.modifiers = enumConstantsFunc?8:0;
  return clazz;
}

function getClass_360(){
  return Ljava_lang_Class_2_classLit;
}

function toString_29(){
  return ((this.modifiers & 2) != 0?'interface ':(this.modifiers & 1) != 0?'':'class ') + this.typeName;
}

function Class(){
}

_ = Class.prototype = new Object_0;
_.getClass$ = getClass_360;
_.toString$ = toString_29;
_.typeId$ = 0;
_.modifiers = 0;
_.typeName = null;
function $ClassCastException(this$static){
  $fillInStackTrace();
  return this$static;
}

function getClass_361(){
  return Ljava_lang_ClassCastException_2_classLit;
}

function ClassCastException(){
}

_ = ClassCastException.prototype = new RuntimeException;
_.getClass$ = getClass_361;
_.typeId$ = 254;
function __decodeNumberString(s){
  var negative, radix;
  if (s.indexOf('-') == 0) {
    negative = true;
    s = s.substr(1, s.length - 1);
  }
   else {
    negative = false;
  }
  if (s.indexOf('0x') == 0 || s.indexOf('0X') == 0) {
    s = s.substr(2, s.length - 2);
    radix = 16;
  }
   else if (s.indexOf('#') == 0) {
    s = s.substr(1, s.length - 1);
    radix = 16;
  }
   else 
    s.indexOf('0') == 0?(radix = 8):(radix = 10);
  negative && (s = '-' + s);
  return $Number$__Decode(new Number$__Decode, radix, s);
}

function __parseAndValidateDouble(s){
  var toReturn;
  toReturn = __parseDouble(s);
  if (isNaN(toReturn)) {
    throw $NumberFormatException(new NumberFormatException, 'For input string: "' + s + '"');
  }
  return toReturn;
}

function __parseAndValidateInt(s, radix, lowerBound, upperBound){
  var i, length_0, startIndex, toReturn;
  if (s == null) {
    throw $NumberFormatException(new NumberFormatException, 'null');
  }
  if (radix < 2 || radix > 36) {
    throw $NumberFormatException(new NumberFormatException, 'radix ' + radix + ' out of range');
  }
  length_0 = s.length;
  startIndex = length_0 > 0 && s.charCodeAt(0) == 45?1:0;
  for (i = startIndex; i < length_0; ++i) {
    if (digit_0(s.charCodeAt(i), radix) == -1) {
      throw $NumberFormatException(new NumberFormatException, 'For input string: "' + s + '"');
    }
  }
  toReturn = parseInt(s, radix);
  if (isNaN(toReturn)) {
    throw $NumberFormatException(new NumberFormatException, 'For input string: "' + s + '"');
  }
   else if (toReturn < lowerBound || toReturn > upperBound) {
    throw $NumberFormatException(new NumberFormatException, 'For input string: "' + s + '"');
  }
  return toReturn;
}

function __parseDouble(str){
  var floatRegex = floatRegex_0;
  !floatRegex && (floatRegex = floatRegex_0 = /^\s*[+-]?\d*\.?\d*([eE][+-]?\d+)?\s*$/i);
  if (floatRegex.test(str)) {
    return parseFloat(str);
  }
   else {
    return Number.NaN;
  }
}

function getClass_362(){
  return Ljava_lang_Number_2_classLit;
}

function Number_0(){
}

_ = Number_0.prototype = new Object_0;
_.getClass$ = getClass_362;
_.typeId$ = 255;
var floatRegex_0 = null;
function $Double(this$static, value){
  this$static.value = value;
  return this$static;
}

function $compareTo_3(this$static, b){
  if (this$static.value < b.value) {
    return -1;
  }
   else if (this$static.value > b.value) {
    return 1;
  }
   else {
    return 0;
  }
}

function compareTo_3(p0){
  return $compareTo_3(this, dynamicCast(p0, 51));
}

function doubleValue(){
  return this.value;
}

function equals_16(o){
  return o != null && canCast(o.typeId$, 51) && dynamicCast(o, 51).value == this.value;
}

function getClass_363(){
  return Ljava_lang_Double_2_classLit;
}

function hashCode_15(){
  return ~~Math.max(Math.min(this.value, 2147483647), -2147483648);
}

function toString_30(){
  return '' + this.value;
}

function Double(){
}

_ = Double.prototype = new Number_0;
_.compareTo$ = compareTo_3;
_.doubleValue = doubleValue;
_.equals$ = equals_16;
_.getClass$ = getClass_363;
_.hashCode$ = hashCode_15;
_.toString$ = toString_30;
_.typeId$ = 256;
_.value = 0;
function $Float(this$static, value){
  this$static.value = value;
  return this$static;
}

function $Float_0(this$static, s){
  this$static.value = __parseAndValidateDouble(s);
  return this$static;
}

--></script>
<script><!--
function $compareTo_4(this$static, b){
  if (this$static.value < b.value) {
    return -1;
  }
   else if (this$static.value > b.value) {
    return 1;
  }
   else {
    return 0;
  }
}

function compareTo_4(p0){
  return $compareTo_4(this, dynamicCast(p0, 52));
}

function doubleValue_0(){
  return this.value;
}

function equals_17(o){
  return o != null && canCast(o.typeId$, 52) && dynamicCast(o, 52).value == this.value;
}

function getClass_364(){
  return Ljava_lang_Float_2_classLit;
}

function hashCode_16(){
  return ~~Math.max(Math.min(this.value, 2147483647), -2147483648);
}

function toString_31(){
  return '' + this.value;
}

function Float(){
}

_ = Float.prototype = new Number_0;
_.compareTo$ = compareTo_4;
_.doubleValue = doubleValue_0;
_.equals$ = equals_17;
_.getClass$ = getClass_364;
_.hashCode$ = hashCode_16;
_.toString$ = toString_31;
_.typeId$ = 257;
_.value = 0;
function $IllegalArgumentException(this$static, message){
  $fillInStackTrace();
  this$static.detailMessage = message;
  return this$static;
}

function getClass_365(){
  return Ljava_lang_IllegalArgumentException_2_classLit;
}

function IllegalArgumentException(){
}

_ = IllegalArgumentException.prototype = new RuntimeException;
_.getClass$ = getClass_365;
_.typeId$ = 258;
function $IllegalStateException(this$static){
  $fillInStackTrace();
  return this$static;
}

function $IllegalStateException_0(this$static, s){
  $fillInStackTrace();
  this$static.detailMessage = s;
  return this$static;
}

function getClass_366(){
  return Ljava_lang_IllegalStateException_2_classLit;
}

function IllegalStateException(){
}

_ = IllegalStateException.prototype = new RuntimeException;
_.getClass$ = getClass_366;
_.typeId$ = 259;
function $IndexOutOfBoundsException(this$static){
  $fillInStackTrace();
  return this$static;
}

function $IndexOutOfBoundsException_0(this$static, message){
  $fillInStackTrace();
  this$static.detailMessage = message;
  return this$static;
}

function getClass_367(){
  return Ljava_lang_IndexOutOfBoundsException_2_classLit;
}

function IndexOutOfBoundsException(){
}

_ = IndexOutOfBoundsException.prototype = new RuntimeException;
_.getClass$ = getClass_367;
_.typeId$ = 260;
function $Integer(this$static, value){
  this$static.value = value;
  return this$static;
}

function $compareTo_5(this$static, b){
  if (this$static.value < b.value) {
    return -1;
  }
   else if (this$static.value > b.value) {
    return 1;
  }
   else {
    return 0;
  }
}

function compareTo_5(p0){
  return $compareTo_5(this, dynamicCast(p0, 33));
}

function doubleValue_1(){
  return this.value;
}

function equals_18(o){
  return o != null && canCast(o.typeId$, 33) && dynamicCast(o, 33).value == this.value;
}

function getClass_368(){
  return Ljava_lang_Integer_2_classLit;
}

function hashCode_17(){
  return this.value;
}

function toPowerOfTwoString(value, shift){
  var bitMask, buf, bufSize, digits, pos;
  bufSize = ~~(32 / shift);
  bitMask = (1 << shift) - 1;
  buf = initDim(_3C_classLit, 302, -1, bufSize, 1);
  digits = ($clinit_507() , digits_0);
  pos = bufSize - 1;
  if (value >= 0) {
    while (value > bitMask) {
      buf[pos--] = digits[value & bitMask];
      value >>= shift;
    }
  }
   else {
    while (pos > 0) {
      buf[pos--] = digits[value & bitMask];
      value >>= shift;
    }
  }
  buf[pos] = digits[value & bitMask];
  return __valueOf(buf, pos, bufSize);
}

function toString_32(){
  return '' + this.value;
}

function valueOf_0(i){
  var rebase, result;
  if (i > -129 && i < 128) {
    rebase = i + 128;
    result = ($clinit_499() , boxedValues_1)[rebase];
    !result && (result = boxedValues_1[rebase] = $Integer(new Integer, i));
    return result;
  }
  return $Integer(new Integer, i);
}

function Integer(){
}

_ = Integer.prototype = new Number_0;
_.compareTo$ = compareTo_5;
_.doubleValue = doubleValue_1;
_.equals$ = equals_18;
_.getClass$ = getClass_368;
_.hashCode$ = hashCode_17;
_.toString$ = toString_32;
_.typeId$ = 261;
_.value = 0;
function $clinit_499(){
  $clinit_499 = nullMethod;
  boxedValues_1 = initDim(_3Ljava_lang_Integer_2_classLit, 334, 33, 256, 0);
}

var boxedValues_1;
function $Long(this$static, value){
  this$static.value = value;
  return this$static;
}

function $compareTo_6(this$static, b){
  if (compare_1(this$static.value, b.value) < 0) {
    return -1;
  }
   else if (compare_1(this$static.value, b.value) > 0) {
    return 1;
  }
   else {
    return 0;
  }
}

function compareTo_6(p0){
  return $compareTo_6(this, dynamicCast(p0, 34));
}

function doubleValue_2(){
  return toDouble(this.value);
}

function equals_19(o){
  return o != null && canCast(o.typeId$, 34) && eq(dynamicCast(o, 34).value, this.value);
}

function getClass_369(){
  return Ljava_lang_Long_2_classLit;
}

function hashCode_18(){
  return lowBits_0(this.value);
}

function hexDigit(c, s){
  var val = ($clinit_503() , hexLookup)[c];
  if (val == null) {
    throw $NumberFormatException(new NumberFormatException, 'For input string: "' + s + '"');
  }
  return val;
}

function parseHex(s){
  var i, len, result;
  len = s.length;
  if (len > 16) {
    throw $NumberFormatException(new NumberFormatException, 'For input string: "' + s + '"');
  }
  result = P0_longLit;
  for (i = 0; i < len; ++i) {
    result = shl(result, 4);
    result = add_2(result, fromInt(hexDigit(s.charCodeAt(i), s)));
  }
  return result;
}

function parseLong(orig, intRadix){
  var c, i, len, neg, radix, result, s, value;
  if (orig == null) {
    throw $NumberFormatException(new NumberFormatException, 'null');
  }
  if (orig.length == 0) {
    throw $NumberFormatException(new NumberFormatException, 'For input string: "' + orig + '"');
  }
  if (intRadix < 2 || intRadix > 36) {
    throw $NumberFormatException(new NumberFormatException, 'radix ' + intRadix + ' out of range');
  }
  neg = false;
  if (orig.charCodeAt(0) == 45) {
    neg = true;
    s = orig.substr(1, orig.length - 1);
    if ($equals_4(s, '')) {
      throw $NumberFormatException(new NumberFormatException, 'For input string: "' + orig + '"');
    }
  }
   else {
    s = orig;
  }
  result = P0_longLit;
  if (intRadix == 16) {
    result = parseHex(s);
  }
   else {
    radix = fromInt(intRadix);
    for (i = 0 , len = s.length; i < len; ++i) {
      if (compare_1(result, P0_longLit) < 0) {
        throw $NumberFormatException(new NumberFormatException, 'For input string: "' + s + '"');
      }
      result = mul(result, radix);
      c = s.charCodeAt(i);
      value = digit_0(c, intRadix);
      if (value < 0) {
        throw $NumberFormatException(new NumberFormatException, 'For input string: "' + s + '"');
      }
      result = add_2(result, fromInt(value));
    }
  }
  if (compare_1(result, P0_longLit) < 0 && neq(result, N8000000000000000_longLit)) {
    throw $NumberFormatException(new NumberFormatException, 'For input string: "' + s + '"');
  }
  if (neg) {
    return neg_0(result);
  }
   else {
    return result;
  }
}

function toString_33(){
  return '' + toString_25(this.value);
}

function valueOf_1(i){
  var rebase, result;
  if (compare_1(i, N81_longLit) > 0 && compare_1(i, P80_longLit) < 0) {
    rebase = lowBits_0(i) + 128;
    result = ($clinit_502() , boxedValues_2)[rebase];
    !result && (result = boxedValues_2[rebase] = $Long(new Long, i));
    return result;
  }
  return $Long(new Long, i);
}

function Long(){
}

_ = Long.prototype = new Number_0;
_.compareTo$ = compareTo_6;
_.doubleValue = doubleValue_2;
_.equals$ = equals_19;
_.getClass$ = getClass_369;
_.hashCode$ = hashCode_18;
_.toString$ = toString_33;
_.typeId$ = 262;
_.value = P0_longLit;
function $clinit_502(){
  $clinit_502 = nullMethod;
  boxedValues_2 = initDim(_3Ljava_lang_Long_2_classLit, 335, 34, 256, 0);
}

var boxedValues_2;
function $clinit_503(){
  $clinit_503 = nullMethod;
  var c;
  hexLookup = initDim(_3I_classLit, 328, -1, 0, 1);
  for (c = 48; c <= 57; ++c) {
    hexLookup[c] = c - 48;
  }
  for (c = 65; c <= 70; ++c) {
    hexLookup[c] = c - 65 + 10;
  }
  for (c = 97; c <= 102; ++c) {
    hexLookup[c] = c - 97 + 10;
  }
}

var hexLookup;
function abs(x){
  return x < 0?-x:x;
}

function max_0(x, y){
  return x > y?x:y;
}

function min_1(x, y){
  return x < y?x:y;
}

function $NullPointerException(this$static){
  $fillInStackTrace();
  return this$static;
}

function $NullPointerException_0(this$static, message){
  $fillInStackTrace();
  this$static.detailMessage = message;
  return this$static;
}

function getClass_370(){
  return Ljava_lang_NullPointerException_2_classLit;
}

function NullPointerException(){
}

_ = NullPointerException.prototype = new RuntimeException;
_.getClass$ = getClass_370;
_.typeId$ = 263;
function $Number$__Decode(this$static, radix, payload){
  this$static.radix = radix;
  this$static.payload = payload;
  return this$static;
}

function getClass_371(){
  return Ljava_lang_Number$_1_1Decode_2_classLit;
}

function Number$__Decode(){
}

_ = Number$__Decode.prototype = new Object_0;
_.getClass$ = getClass_371;
_.typeId$ = 0;
_.payload = null;
_.radix = 0;
function $clinit_507(){
  $clinit_507 = nullMethod;
  digits_0 = initValues(_3C_classLit, 302, -1, [48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122]);
}

var digits_0;
function $NumberFormatException(this$static, message){
  $fillInStackTrace();
  this$static.detailMessage = message;
  return this$static;
}

function getClass_372(){
  return Ljava_lang_NumberFormatException_2_classLit;
}

function NumberFormatException(){
}

_ = NumberFormatException.prototype = new IllegalArgumentException;
_.getClass$ = getClass_372;
_.typeId$ = 264;
function $Short(this$static, value){
  this$static.value = value;
  return this$static;
}

function $compareTo_7(this$static, b){
  if (this$static.value < b.value) {
    return -1;
  }
   else if (this$static.value > b.value) {
    return 1;
  }
   else {
    return 0;
  }
}

function compareTo_7(p0){
  return $compareTo_7(this, dynamicCast(p0, 36));
}

function doubleValue_3(){
  return this.value;
}

function equals_20(o){
  return o != null && canCast(o.typeId$, 36) && dynamicCast(o, 36).value == this.value;
}

function getClass_373(){
  return Ljava_lang_Short_2_classLit;
}

function hashCode_19(){
  return this.value;
}

function toString_34(){
  return '' + this.value;
}

function valueOf_2(s){
  var rebase, result;
  if (s > -129 && s < 128) {
    rebase = s + 128;
    result = ($clinit_510() , boxedValues_3)[rebase];
    !result && (result = boxedValues_3[rebase] = $Short(new Short, s));
    return result;
  }
  return $Short(new Short, s);
}

function Short(){
}

_ = Short.prototype = new Number_0;
_.compareTo$ = compareTo_7;
_.doubleValue = doubleValue_3;
_.equals$ = equals_20;
_.getClass$ = getClass_373;
_.hashCode$ = hashCode_19;
_.toString$ = toString_34;
_.typeId$ = 265;
_.value = 0;
function $clinit_510(){
  $clinit_510 = nullMethod;
  boxedValues_3 = initDim(_3Ljava_lang_Short_2_classLit, 338, 36, 256, 0);
}

var boxedValues_3;
function $StackTraceElement(this$static, className, methodName, fileName, lineNumber){
  this$static.className_0 = className;
  this$static.methodName = methodName;
  this$static.fileName = fileName;
  this$static.lineNumber = lineNumber;
  return this$static;
}

function getClass_374(){
  return Ljava_lang_StackTraceElement_2_classLit;
}

function toString_35(){
  return this.className_0 + '.' + this.methodName + '(' + this.fileName + ':' + this.lineNumber + ')';
}

function StackTraceElement(){
}

_ = StackTraceElement.prototype = new Object_0;
_.getClass$ = getClass_374;
_.toString$ = toString_35;
_.typeId$ = 266;
_.className_0 = null;
_.fileName = null;
_.lineNumber = 0;
_.methodName = null;
function $endsWith(this$static, suffix){
  return this$static.lastIndexOf(suffix) != -1 && this$static.lastIndexOf(suffix) == this$static.length - suffix.length;
}

function $equals_4(this$static, other){
  if (!(other != null && canCast(other.typeId$, 1))) {
    return false;
  }
  return String(this$static) == other;
}

function $equalsIgnoreCase(this$static, other){
  if (other == null)
    return false;
  return this$static == other || this$static.toLowerCase() == other.toLowerCase();
}

function $replace_0(this$static, from, to){
  var regex, replacement;
  regex = $replaceAll(from, '([/\\\\\\.\\*\\+\\?\\|\\(\\)\\[\\]\\{\\}$^])', '\\\\$1');
  replacement = $replaceAll($replaceAll(to, '\\\\', '\\\\\\\\'), '\\$', '\\\\$');
  return $replaceAll(this$static, regex, replacement);
}

function $replaceAll(this$static, regex, replace){
  replace = __translateReplaceString(replace);
  return this$static.replace(RegExp(regex, 'g'), replace);
}

function $split(this$static, regex, maxMatch){
  var compiled = new RegExp(regex, 'g');
  var out = [];
  var count = 0;
  var trail = this$static;
  var lastTrail = null;
  while (true) {
    var matchObj = compiled.exec(trail);
    if (matchObj == null || trail == '' || count == maxMatch - 1 && maxMatch > 0) {
      out[count] = trail;
      break;
    }
     else {
      out[count] = trail.substring(0, matchObj.index);
      trail = trail.substring(matchObj.index + matchObj[0].length, trail.length);
      compiled.lastIndex = 0;
      if (lastTrail == trail) {
        out[count] = trail.substring(0, 1);
        trail = trail.substring(1);
      }
      lastTrail = trail;
      count++;
    }
  }
  if (maxMatch == 0 && this$static.length > 0) {
    var lastNonEmpty = out.length;
    while (lastNonEmpty > 0 && out[lastNonEmpty - 1] == '') {
      --lastNonEmpty;
    }
    lastNonEmpty < out.length && out.splice(lastNonEmpty, out.length - lastNonEmpty);
  }
  var jr = initDim(_3Ljava_lang_String_2_classLit, 340, 1, out.length, 0);
  for (var i = 0; i < out.length; ++i) {
    jr[i] = out[i];
  }
  return jr;
}

function $startsWith(this$static, prefix, toffset){
  if (toffset < 0 || toffset >= this$static.length) {
    return false;
  }
   else {
    return this$static.indexOf(prefix, toffset) == toffset;
  }
}

function $substring(this$static, beginIndex){
  return this$static.substr(beginIndex, this$static.length - beginIndex);
}

function $substring_0(this$static, beginIndex, endIndex){
  return this$static.substr(beginIndex, endIndex - beginIndex);
}

function $trim(this$static){
  if (this$static.length == 0 || this$static[0] > ' ' && this$static[this$static.length - 1] > ' ') {
    return this$static;
  }
  var r1 = this$static.replace(/^(\s*)/, '');
  var r2 = r1.replace(/\s*$/, '');
  return r2;
}

function __translateReplaceString(replaceStr){
  var pos;
  pos = 0;
  while (0 <= (pos = replaceStr.indexOf('\\', pos))) {
    replaceStr.charCodeAt(pos + 1) == 36?(replaceStr = replaceStr.substr(0, pos - 0) + '$' + $substring(replaceStr, ++pos)):(replaceStr = replaceStr.substr(0, pos - 0) + $substring(replaceStr, ++pos));
  }
  return replaceStr;
}

function __valueOf(x, start, end){
  x = x.slice(start, end);
  return String.fromCharCode.apply(null, x);
}

function compareTo_8(thisStr, otherStr){
  thisStr = String(thisStr);
  if (thisStr == otherStr) {
    return 0;
  }
  return thisStr < otherStr?-1:1;
}

function compareTo_9(p0){
  return compareTo_8(this, dynamicCast(p0, 1));
}

function equals_21(other){
  return $equals_4(this, other);
}

function fromCodePoint(codePoint){
  var hiSurrogate, loSurrogate;
  if (codePoint >= 65536) {
    hiSurrogate = 55296 + (codePoint - 65536 >> 10 & 1023) & 65535;
    loSurrogate = 56320 + (codePoint - 65536 & 1023) & 65535;
    return String.fromCharCode(hiSurrogate) + String.fromCharCode(loSurrogate);
  }
   else {
    return String.fromCharCode(codePoint & 65535);
  }
}

function getClass_375(){
  return Ljava_lang_String_2_classLit;
}

function hashCode_20(){
  return getHashCode_0(this);
}

function toString_36(){
  return this;
}

_ = String.prototype;
_.compareTo$ = compareTo_9;
_.equals$ = equals_21;
_.getClass$ = getClass_375;
_.hashCode$ = hashCode_20;
_.toString$ = toString_36;
_.typeId$ = 2;
function $clinit_513(){
  $clinit_513 = nullMethod;
  back = {};
  front = {};
}

function compute(str){
  var hashCode, i, n, nBatch;
  hashCode = 0;
  n = str.length;
  nBatch = n - 4;
  i = 0;
  while (i < nBatch) {
    hashCode = str.charCodeAt(i + 3) + 31 * (str.charCodeAt(i + 2) + 31 * (str.charCodeAt(i + 1) + 31 * (str.charCodeAt(i) + 31 * hashCode))) | 0;
    i += 4;
  }
  while (i < n) {
    hashCode = hashCode * 31 + str.charCodeAt(i++);
  }
  return hashCode | 0;
}

function getHashCode_0(str){
  $clinit_513();
  var key = ':' + str;
  var result = front[key];
  if (result != null) {
    return result;
  }
  result = back[key];
  result == null && (result = compute(str));
  increment();
  return front[key] = result;
}

function increment(){
  if (count_1 == 256) {
    back = front;
    front = {};
    count_1 = 0;
  }
  ++count_1;
}

var back, count_1 = 0, front;
function $StringBuffer(this$static){
  this$static.impl = new StringBufferImplAppend;
  return this$static;
}

function $StringBuffer_0(this$static){
  this$static.impl = new StringBufferImplAppend;
  return this$static;
}

function $append_3(this$static, x){
  this$static.impl.string += String.fromCharCode.apply(null, x);
  return this$static;
}

function $append_4(this$static, x){
  this$static.impl.string += x;
  return this$static;
}

function $append_5(this$static, x){
  this$static.impl.string += x;
  return this$static;
}

function $replace_1(this$static, start, end, toInsert){
  $replace(this$static.impl, start, end, toInsert);
  return this$static;
}

function getClass_376(){
  return Ljava_lang_StringBuffer_2_classLit;
}

function toString_37(){
  return this.impl.string;
}

function StringBuffer(){
}

_ = StringBuffer.prototype = new Object_0;
_.getClass$ = getClass_376;
_.toString$ = toString_37;
_.typeId$ = 267;
function $UnsupportedOperationException(this$static){
  $fillInStackTrace();
  return this$static;
}

function $UnsupportedOperationException_0(this$static, message){
  $fillInStackTrace();
  this$static.detailMessage = message;
  return this$static;
}

function getClass_377(){
  return Ljava_lang_UnsupportedOperationException_2_classLit;
}

function UnsupportedOperationException(){
}

_ = UnsupportedOperationException.prototype = new RuntimeException;
_.getClass$ = getClass_377;
_.typeId$ = 268;
function $addAllHashEntries(this$static, dest){
  var hashCodeMap = this$static.hashCodeMap;
  for (var hashCode in hashCodeMap) {
    if (hashCode == parseInt(hashCode)) {
      var array = hashCodeMap[hashCode];
      for (var i = 0, c = array.length; i < c; ++i) {
        dest.add(array[i]);
      }
    }
  }
}

function $addAllStringEntries(this$static, dest){
  var stringMap = this$static.stringMap;
  for (var key in stringMap) {
    if (key.charCodeAt(0) == 58) {
      var entry = new_$_2(this$static, key.substring(1));
      dest.add(entry);
    }
  }
}

function $clearImpl(this$static){
  this$static.hashCodeMap = [];
  this$static.stringMap = {};
  this$static.nullSlotLive = false;
  this$static.nullSlot = null;
  this$static.size = 0;
}

function $containsHashValue(this$static, value){
  var hashCodeMap = this$static.hashCodeMap;
  for (var hashCode in hashCodeMap) {
    if (hashCode == parseInt(hashCode)) {
      var array = hashCodeMap[hashCode];
      for (var i = 0, c = array.length; i < c; ++i) {
        var entry = array[i];
        var entryValue = entry.getValue();
        if (this$static.equalsBridge(value, entryValue)) {
          return true;
        }
      }
    }
  }
  return false;
}

function $containsKey_2(this$static, key){
  return key == null?this$static.nullSlotLive:key != null && canCast(key.typeId$, 1)?$hasStringValue(this$static, dynamicCast(key, 1)):$hasHashValue(this$static, key, this$static.getHashCode(key));
}

function $containsStringValue(this$static, value){
  var stringMap = this$static.stringMap;
  for (var key in stringMap) {
    if (key.charCodeAt(0) == 58) {
      var entryValue = stringMap[key];
      if (this$static.equalsBridge(value, entryValue)) {
        return true;
      }
    }
  }
  return false;
}

function $containsValue(this$static, value){
  if (this$static.nullSlotLive && $equals_6(this$static.nullSlot, value)) {
    return true;
  }
   else if ($containsStringValue(this$static, value)) {
    return true;
  }
   else if ($containsHashValue(this$static, value)) {
    return true;
  }
  return false;
}

function $get_8(this$static, key){
  return key == null?this$static.nullSlot:key != null && canCast(key.typeId$, 1)?this$static.stringMap[':' + dynamicCast(key, 1)]:$getHashValue(this$static, key, this$static.getHashCode(key));
}

function $getHashValue(this$static, key, hashCode){
  var array = this$static.hashCodeMap[hashCode];
  if (array) {
    for (var i = 0, c = array.length; i < c; ++i) {
      var entry = array[i];
      var entryKey = entry.getKey();
      if (this$static.equalsBridge(key, entryKey)) {
        return entry.getValue();
      }
    }
  }
  return null;
}

function $hasHashValue(this$static, key, hashCode){
  var array = this$static.hashCodeMap[hashCode];
  if (array) {
    for (var i = 0, c = array.length; i < c; ++i) {
      var entry = array[i];
      var entryKey = entry.getKey();
      if (this$static.equalsBridge(key, entryKey)) {
        return true;
      }
    }
  }
  return false;
}

function $hasStringValue(this$static, key){
  return ':' + key in this$static.stringMap;
}

function $put_4(this$static, key, value){
  return key == null?$putNullSlot(this$static, value):key != null && canCast(key.typeId$, 1)?$putStringValue(this$static, dynamicCast(key, 1), value):$putHashValue(this$static, key, value, this$static.getHashCode(key));
}

function $putHashValue(this$static, key, value, hashCode){
  var array = this$static.hashCodeMap[hashCode];
  if (array) {
    for (var i = 0, c = array.length; i < c; ++i) {
      var entry = array[i];
      var entryKey = entry.getKey();
      if (this$static.equalsBridge(key, entryKey)) {
        var previous = entry.getValue();
        entry.setValue(value);
        return previous;
      }
    }
  }
   else {
    array = this$static.hashCodeMap[hashCode] = [];
  }
  var entry = $MapEntryImpl(new MapEntryImpl, key, value);
  array.push(entry);
  ++this$static.size;
  return null;
}

function $putNullSlot(this$static, value){
  var result;
  result = this$static.nullSlot;
  this$static.nullSlot = value;
  if (!this$static.nullSlotLive) {
    this$static.nullSlotLive = true;
    ++this$static.size;
  }
  return result;
}

function $putStringValue(this$static, key, value){
  var result, stringMap = this$static.stringMap;
  key = ':' + key;
  key in stringMap?(result = stringMap[key]):++this$static.size;
  stringMap[key] = value;
  return result;
}

function $remove_16(this$static, key){
  return key == null?$removeNullSlot(this$static):key != null && canCast(key.typeId$, 1)?$removeStringValue(this$static, dynamicCast(key, 1)):$removeHashValue(this$static, key, this$static.getHashCode(key));
}

function $removeHashValue(this$static, key, hashCode){
  var array = this$static.hashCodeMap[hashCode];
  if (array) {
    for (var i = 0, c = array.length; i < c; ++i) {
      var entry = array[i];
      var entryKey = entry.getKey();
      if (this$static.equalsBridge(key, entryKey)) {
        array.length == 1?delete this$static.hashCodeMap[hashCode]:array.splice(i, 1);
        --this$static.size;
        return entry.getValue();
      }
    }
  }
  return null;
}

function $removeNullSlot(this$static){
  var result;
  result = this$static.nullSlot;
  this$static.nullSlot = null;
  if (this$static.nullSlotLive) {
    this$static.nullSlotLive = false;
    --this$static.size;
  }
  return result;
}

function $removeStringValue(this$static, key){
  var result, stringMap = this$static.stringMap;
  key = ':' + key;
  if (key in stringMap) {
    result = stringMap[key];
    --this$static.size;
    delete stringMap[key];
  }
  return result;
}

function containsKey_1(key){
  return key == null?this.nullSlotLive:key != null && canCast(key.typeId$, 1)?':' + dynamicCast(key, 1) in this.stringMap:$hasHashValue(this, key, this.getHashCode(key));
}

function entrySet_1(){
  return $AbstractHashMap$EntrySet(new AbstractHashMap$EntrySet, this);
}

function equalsBridge(value1, value2){
  return this.equals(value1, value2);
}

function get_9(key){
  return key == null?this.nullSlot:key != null && canCast(key.typeId$, 1)?this.stringMap[':' + dynamicCast(key, 1)]:$getHashValue(this, key, this.getHashCode(key));
}

function getClass_378(){
  return Ljava_util_AbstractHashMap_2_classLit;
}

function put_2(key, value){
  return key == null?$putNullSlot(this, value):key != null && canCast(key.typeId$, 1)?$putStringValue(this, dynamicCast(key, 1), value):$putHashValue(this, key, value, this.getHashCode(key));
}

function remove_18(key){
  return key == null?$removeNullSlot(this):key != null?$removeStringValue(this, key):$removeHashValue(this, key, this.getHashCode(key));
}

function size_9(){
  return this.size;
}

function AbstractHashMap(){
}

_ = AbstractHashMap.prototype = new AbstractMap;
_.containsKey = containsKey_1;
_.entrySet_0 = entrySet_1;
_.equalsBridge = equalsBridge;
_.get_0 = get_9;
_.getClass$ = getClass_378;
_.put = put_2;
_.remove_0 = remove_18;
_.size_0 = size_9;
_.typeId$ = 269;
_.hashCodeMap = null;
_.nullSlot = null;
_.nullSlotLive = false;
_.size = 0;
_.stringMap = null;
function $AbstractHashMap$EntrySet(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $contains_1(this$static, o){
  var entry, key, value;
  if (o != null && canCast(o.typeId$, 40)) {
    entry = dynamicCast(o, 40);
    key = entry.getKey();
    if ($containsKey_2(this$static.this$0, key)) {
      value = $get_8(this$static.this$0, key);
      return this$static.this$0.equals(entry.getValue(), value);
    }
  }
  return false;
}

function contains_4(o){
  return $contains_1(this, o);
}

function getClass_379(){
  return Ljava_util_AbstractHashMap$EntrySet_2_classLit;
}

function iterator_6(){
  return $AbstractHashMap$EntrySetIterator(new AbstractHashMap$EntrySetIterator, this.this$0);
}

function remove_19(entry){
  var key;
  if ($contains_1(this, entry)) {
    key = dynamicCast(entry, 40).getKey();
    $remove_16(this.this$0, key);
    return true;
  }
  return false;
}

function size_10(){
  return this.this$0.size;
}

function AbstractHashMap$EntrySet(){
}

_ = AbstractHashMap$EntrySet.prototype = new AbstractSet;
_.contains = contains_4;
_.getClass$ = getClass_379;
_.iterator_0 = iterator_6;
_.remove_1 = remove_19;
_.size_0 = size_10;
_.typeId$ = 270;
_.this$0 = null;
function $AbstractHashMap$EntrySetIterator(this$static, this$0){
  var list;
  this$static.this$0 = this$0;
  list = $ArrayList(new ArrayList);
  this$static.this$0.nullSlotLive && $add_13(list, $AbstractHashMap$MapEntryNull(new AbstractHashMap$MapEntryNull, this$static.this$0));
  $addAllStringEntries(this$static.this$0, list);
  $addAllHashEntries(this$static.this$0, list);
  this$static.iter = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, list);
  return this$static;
}

function $next_3(this$static){
  return this$static.last = dynamicCast($next_4(this$static.iter), 40);
}

function $remove_17(this$static){
  if (!this$static.last) {
    throw $IllegalStateException_0(new IllegalStateException, 'Must call next() before remove().');
  }
   else {
    $remove_18(this$static.iter);
    $remove_16(this$static.this$0, this$static.last.getKey());
    this$static.last = null;
  }
}

function getClass_380(){
  return Ljava_util_AbstractHashMap$EntrySetIterator_2_classLit;
}

function hasNext_3(){
  return $hasNext_2(this.iter);
}

function next_4(){
  return this.last = dynamicCast($next_4(this.iter), 40);
}

function remove_20(){
  $remove_17(this);
}

function AbstractHashMap$EntrySetIterator(){
}

_ = AbstractHashMap$EntrySetIterator.prototype = new Object_0;
_.getClass$ = getClass_380;
_.hasNext = hasNext_3;
_.next_0 = next_4;
_.remove_2 = remove_20;
_.typeId$ = 0;
_.iter = null;
_.last = null;
_.this$0 = null;
function equals_22(other){
  var entry;
  if (other != null && canCast(other.typeId$, 40)) {
    entry = dynamicCast(other, 40);
    if (equalsWithNullCheck(this.getKey(), entry.getKey()) && equalsWithNullCheck(this.getValue(), entry.getValue())) {
      return true;
    }
  }
  return false;
}

function getClass_381(){
  return Ljava_util_AbstractMapEntry_2_classLit;
}

function hashCode_21(){
  var keyHash, valueHash;
  keyHash = 0;
  valueHash = 0;
  this.getKey() != null && (keyHash = hashCode__devirtual$(this.getKey()));
  this.getValue() != null && (valueHash = hashCode__devirtual$(this.getValue()));
  return keyHash ^ valueHash;
}

function toString_38(){
  return this.getKey() + '=' + this.getValue();
}

function AbstractMapEntry(){
}

_ = AbstractMapEntry.prototype = new Object_0;
_.equals$ = equals_22;
_.getClass$ = getClass_381;
_.hashCode$ = hashCode_21;
_.toString$ = toString_38;
_.typeId$ = 271;
function $AbstractHashMap$MapEntryNull(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function getClass_382(){
  return Ljava_util_AbstractHashMap$MapEntryNull_2_classLit;
}

function getKey_0(){
  return null;
}

function getValue_0(){
  return this.this$0.nullSlot;
}

function setValue_2(object){
  return $putNullSlot(this.this$0, object);
}

function AbstractHashMap$MapEntryNull(){
}

_ = AbstractHashMap$MapEntryNull.prototype = new AbstractMapEntry;
_.getClass$ = getClass_382;
_.getKey = getKey_0;
_.getValue = getValue_0;
_.setValue = setValue_2;
_.typeId$ = 272;
_.this$0 = null;
function $AbstractHashMap$MapEntryString(this$static, key, this$0){
  this$static.this$0 = this$0;
  this$static.key = key;
  return this$static;
}

function getClass_383(){
  return Ljava_util_AbstractHashMap$MapEntryString_2_classLit;
}

--></script>
<script><!--
function getKey_1(){
  return this.key;
}

function getValue_1(){
  return this.this$0.stringMap[':' + this.key];
}

function new_$_2(this$outer, key){
  return $AbstractHashMap$MapEntryString(new AbstractHashMap$MapEntryString, key, this$outer);
}

function setValue_3(object){
  return $putStringValue(this.this$0, this.key, object);
}

function AbstractHashMap$MapEntryString(){
}

_ = AbstractHashMap$MapEntryString.prototype = new AbstractMapEntry;
_.getClass$ = getClass_383;
_.getKey = getKey_1;
_.getValue = getValue_1;
_.setValue = setValue_3;
_.typeId$ = 273;
_.key = null;
_.this$0 = null;
function $equals_5(this$static, o){
  var elem, elemOther, iter, iterOther, other;
  if ((o == null?null:o) === (this$static == null?null:this$static)) {
    return true;
  }
  if (!(o != null && canCast(o.typeId$, 42))) {
    return false;
  }
  other = dynamicCast(o, 42);
  if (this$static.size_0() != other.size_0()) {
    return false;
  }
  iter = this$static.iterator_0();
  iterOther = other.iterator_0();
  while (iter.i < iter.this$0_0.size_0()) {
    elem = $next_4(iter);
    elemOther = iterOther.next_0();
    if (!(elem == null?elemOther == null:equals__devirtual$(elem, elemOther))) {
      return false;
    }
  }
  return true;
}

function $hashCode_4(this$static){
  var iter, k, obj;
  k = 1;
  iter = this$static.iterator_0();
  while (iter.i < iter.this$0_0.size_0()) {
    obj = $next_4(iter);
    k = 31 * k + (obj == null?0:hashCode__devirtual$(obj));
    k = ~~k;
  }
  return k;
}

function $indexOf_3(this$static, toFind){
  var i, n;
  for (i = 0 , n = this$static.array.length; i < n; ++i) {
    if (toFind == null?(checkIndex(i, this$static.array.length) , this$static.array[i]) == null:equals__devirtual$(toFind, (checkIndex(i, this$static.array.length) , this$static.array[i]))) {
      return i;
    }
  }
  return -1;
}

function $listIterator(this$static, from){
  return $AbstractList$ListIteratorImpl(new AbstractList$ListIteratorImpl, from, this$static);
}

function add_3(obj){
  this.add_0(this.size_0(), obj);
  return true;
}

function add_4(index, element){
  throw $UnsupportedOperationException_0(new UnsupportedOperationException, 'Add not supported on this list');
}

function checkIndex(index, size){
  (index < 0 || index >= size) && indexOutOfBounds(index, size);
}

function equals_23(o){
  return $equals_5(this, o);
}

function getClass_384(){
  return Ljava_util_AbstractList_2_classLit;
}

function hashCode_22(){
  return $hashCode_4(this);
}

function indexOutOfBounds(index, size){
  throw $IndexOutOfBoundsException_0(new IndexOutOfBoundsException, 'Index: ' + index + ', Size: ' + size);
}

function iterator_7(){
  return $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this);
}

function remove_21(index){
  throw $UnsupportedOperationException_0(new UnsupportedOperationException, 'Remove not supported on this list');
}

function set_1(index, o){
  throw $UnsupportedOperationException_0(new UnsupportedOperationException, 'Set not supported on this list');
}

function AbstractList(){
}

_ = AbstractList.prototype = new AbstractCollection;
_.add = add_3;
_.add_0 = add_4;
_.equals$ = equals_23;
_.getClass$ = getClass_384;
_.hashCode$ = hashCode_22;
_.iterator_0 = iterator_7;
_.remove_5 = remove_21;
_.set = set_1;
_.typeId$ = 274;
function $AbstractList$IteratorImpl(this$static, this$0){
  this$static.this$0_0 = this$0;
  return this$static;
}

function $hasNext_2(this$static){
  return this$static.i < this$static.this$0_0.size_0();
}

function $next_4(this$static){
  if (this$static.i >= this$static.this$0_0.size_0()) {
    throw $NoSuchElementException(new NoSuchElementException);
  }
  return this$static.this$0_0.get_1(this$static.last = this$static.i++);
}

function $remove_18(this$static){
  if (this$static.last < 0) {
    throw $IllegalStateException(new IllegalStateException);
  }
  this$static.this$0_0.remove_5(this$static.last);
  this$static.i = this$static.last;
  this$static.last = -1;
}

function getClass_385(){
  return Ljava_util_AbstractList$IteratorImpl_2_classLit;
}

function hasNext_4(){
  return this.i < this.this$0_0.size_0();
}

function next_5(){
  return $next_4(this);
}

function remove_22(){
  $remove_18(this);
}

function AbstractList$IteratorImpl(){
}

_ = AbstractList$IteratorImpl.prototype = new Object_0;
_.getClass$ = getClass_385;
_.hasNext = hasNext_4;
_.next_0 = next_5;
_.remove_2 = remove_22;
_.typeId$ = 0;
_.i = 0;
_.last = -1;
_.this$0_0 = null;
function $AbstractList$ListIteratorImpl(this$static, start, this$0){
  var size;
  this$static.this$0 = this$0;
  this$static.this$0_0 = this$0;
  size = this$static.this$0.arrayList.size;
  (start < 0 || start > size) && indexOutOfBounds(start, size);
  this$static.i = start;
  return this$static;
}

function $previous(this$static){
  if (this$static.i <= 0) {
    throw $NoSuchElementException(new NoSuchElementException);
  }
  return $get_9(this$static.this$0.arrayList, this$static.last = --this$static.i);
}

function $set_12(this$static, o){
  if (this$static.last == -1) {
    throw $IllegalStateException(new IllegalStateException);
  }
  $set_13(this$static.this$0.arrayList, this$static.last, o);
}

function getClass_386(){
  return Ljava_util_AbstractList$ListIteratorImpl_2_classLit;
}

function AbstractList$ListIteratorImpl(){
}

_ = AbstractList$ListIteratorImpl.prototype = new AbstractList$IteratorImpl;
_.getClass$ = getClass_386;
_.typeId$ = 0;
_.this$0 = null;
function $AbstractMap$1(this$static, this$0, val$entrySet){
  this$static.this$0 = this$0;
  this$static.val$entrySet = val$entrySet;
  return this$static;
}

function contains_5(key){
  return this.this$0.containsKey(key);
}

function getClass_387(){
  return Ljava_util_AbstractMap$1_2_classLit;
}

function iterator_8(){
  var outerIter;
  return outerIter = this.val$entrySet.iterator_0() , $AbstractMap$1$1(new AbstractMap$1$1, outerIter);
}

function size_11(){
  return this.val$entrySet.size_0();
}

function AbstractMap$1(){
}

_ = AbstractMap$1.prototype = new AbstractSet;
_.contains = contains_5;
_.getClass$ = getClass_387;
_.iterator_0 = iterator_8;
_.size_0 = size_11;
_.typeId$ = 275;
_.this$0 = null;
_.val$entrySet = null;
function $AbstractMap$1$1(this$static, val$outerIter){
  this$static.val$outerIter = val$outerIter;
  return this$static;
}

function getClass_388(){
  return Ljava_util_AbstractMap$1$1_2_classLit;
}

function hasNext_5(){
  return this.val$outerIter.hasNext();
}

function next_6(){
  var entry;
  entry = dynamicCast(this.val$outerIter.next_0(), 40);
  return entry.getKey();
}

function remove_23(){
  this.val$outerIter.remove_2();
}

function AbstractMap$1$1(){
}

_ = AbstractMap$1$1.prototype = new Object_0;
_.getClass$ = getClass_388;
_.hasNext = hasNext_5;
_.next_0 = next_6;
_.remove_2 = remove_23;
_.typeId$ = 0;
_.val$outerIter = null;
function $AbstractMap$2(this$static, this$0, val$entrySet){
  this$static.this$0 = this$0;
  this$static.val$entrySet = val$entrySet;
  return this$static;
}

function contains_6(value){
  return $containsValue(this.this$0, value);
}

function getClass_389(){
  return Ljava_util_AbstractMap$2_2_classLit;
}

function iterator_9(){
  var outerIter;
  outerIter = $AbstractHashMap$EntrySetIterator(new AbstractHashMap$EntrySetIterator, this.val$entrySet.this$0);
  return $AbstractMap$2$1(new AbstractMap$2$1, outerIter);
}

function size_12(){
  return this.val$entrySet.this$0.size;
}

function AbstractMap$2(){
}

_ = AbstractMap$2.prototype = new AbstractCollection;
_.contains = contains_6;
_.getClass$ = getClass_389;
_.iterator_0 = iterator_9;
_.size_0 = size_12;
_.typeId$ = 0;
_.this$0 = null;
_.val$entrySet = null;
function $AbstractMap$2$1(this$static, val$outerIter){
  this$static.val$outerIter = val$outerIter;
  return this$static;
}

function getClass_390(){
  return Ljava_util_AbstractMap$2$1_2_classLit;
}

function hasNext_6(){
  return $hasNext_2(this.val$outerIter.iter);
}

function next_7(){
  var value;
  value = $next_3(this.val$outerIter).getValue();
  return value;
}

function remove_24(){
  $remove_17(this.val$outerIter);
}

function AbstractMap$2$1(){
}

_ = AbstractMap$2$1.prototype = new Object_0;
_.getClass$ = getClass_390;
_.hasNext = hasNext_6;
_.next_0 = next_7;
_.remove_2 = remove_24;
_.typeId$ = 0;
_.val$outerIter = null;
function $ArrayList(this$static){
  this$static.array = initDim(_3Ljava_lang_Object_2_classLit, 337, 0, 0, 0);
  return this$static;
}

function $ArrayList_0(this$static, c){
  this$static.array = initDim(_3Ljava_lang_Object_2_classLit, 337, 0, 0, 0);
  Array.prototype.splice.apply(this$static.array, [0, 0].concat(c.toArray()));
  this$static.size = this$static.array.length;
  return this$static;
}

function $ArrayList_1(this$static, initialCapacity){
  this$static.array = initDim(_3Ljava_lang_Object_2_classLit, 337, 0, 0, 0);
  this$static.array.length = initialCapacity;
  return this$static;
}

function $add_13(this$static, o){
  setCheck(this$static.array, this$static.size++, o);
  return true;
}

function $add_14(this$static, index, o){
  (index < 0 || index > this$static.size) && indexOutOfBounds(index, this$static.size);
  this$static.array.splice(index, 0, o);
  ++this$static.size;
}

function $clear(this$static){
  this$static.array = initDim(_3Ljava_lang_Object_2_classLit, 337, 0, 0, 0);
  this$static.size = 0;
}

function $get_9(this$static, index){
  checkIndex(index, this$static.size);
  return this$static.array[index];
}

function $indexOf_4(this$static, o, index){
  for (; index < this$static.size; ++index) {
    if (equalsWithNullCheck(o, this$static.array[index])) {
      return index;
    }
  }
  return -1;
}

function $remove_19(this$static, index){
  var previous;
  previous = (checkIndex(index, this$static.size) , this$static.array[index]);
  this$static.array.splice(index, 1);
  --this$static.size;
  return previous;
}

function $remove_20(this$static, o){
  var i;
  i = $indexOf_4(this$static, o, 0);
  if (i == -1) {
    return false;
  }
  $remove_19(this$static, i);
  return true;
}

function $set_13(this$static, index, o){
  var previous;
  previous = (checkIndex(index, this$static.size) , this$static.array[index]);
  setCheck(this$static.array, index, o);
  return previous;
}

function $toArray_0(this$static){
  var a, result;
  return a = this$static.array , result = a.slice(0, this$static.size) , initValues(a.arrayClass$, a.typeId$, a.queryId$, result) , result;
}

function $toArray_1(this$static, out){
  var i, a, result;
  out.length < this$static.size && (out = (a = out , result = createFromSeed(0, this$static.size) , initValues(a.arrayClass$, a.typeId$, a.queryId$, result) , result));
  for (i = 0; i < this$static.size; ++i) {
    setCheck(out, i, this$static.array[i]);
  }
  out.length > this$static.size && setCheck(out, this$static.size, null);
  return out;
}

function add_5(o){
  return setCheck(this.array, this.size++, o) , true;
}

function add_6(index, o){
  $add_14(this, index, o);
}

function contains_7(o){
  return $indexOf_4(this, o, 0) != -1;
}

function get_10(index){
  return checkIndex(index, this.size) , this.array[index];
}

function getClass_391(){
  return Ljava_util_ArrayList_2_classLit;
}

function isEmpty_1(){
  return this.size == 0;
}

function remove_25(index){
  return $remove_19(this, index);
}

function remove_26(o){
  return $remove_20(this, o);
}

function set_2(index, o){
  var previous;
  return previous = (checkIndex(index, this.size) , this.array[index]) , setCheck(this.array, index, o) , previous;
}

function size_13(){
  return this.size;
}

function toArray_1(){
  var a, result;
  return a = this.array , result = a.slice(0, this.size) , initValues(a.arrayClass$, a.typeId$, a.queryId$, result) , result;
}

function toArray_2(out){
  return $toArray_1(this, out);
}

function ArrayList(){
}

_ = ArrayList.prototype = new AbstractList;
_.add = add_5;
_.add_0 = add_6;
_.contains = contains_7;
_.get_1 = get_10;
_.getClass$ = getClass_391;
_.isEmpty = isEmpty_1;
_.remove_5 = remove_25;
_.remove_1 = remove_26;
_.set = set_2;
_.size_0 = size_13;
_.toArray = toArray_1;
_.toArray_0 = toArray_2;
_.typeId$ = 276;
_.size = 0;
function insertionSort(array, low, high, comp){
  var i, j, t;
  for (i = low + 1; i < high; ++i) {
    for (j = i; j > low && comp.compare(array[j - 1], array[j]) > 0; --j) {
      t = array[j];
      setCheck(array, j, array[j - 1]);
      setCheck(array, j - 1, t);
    }
  }
}

function merge(src, srcLow, srcMid, srcHigh, dest, destLow, destHigh, comp){
  var topIdx;
  topIdx = srcMid;
  while (destLow < destHigh) {
    topIdx >= srcHigh || srcLow < srcMid && comp.compare(src[srcLow], src[topIdx]) <= 0?setCheck(dest, destLow++, src[srcLow++]):setCheck(dest, destLow++, src[topIdx++]);
  }
}

function mergeSort(x, fromIndex, toIndex, comp){
  var temp, a, result;
  temp = (a = x , result = a.slice(fromIndex, toIndex) , initValues(a.arrayClass$, a.typeId$, a.queryId$, result) , result);
  mergeSort_0(temp, x, fromIndex, toIndex, -fromIndex, comp);
}

function mergeSort_0(temp, array, low, high, ofs, comp){
  var length_0, tempHigh, tempLow, tempMid;
  length_0 = high - low;
  if (length_0 < 7) {
    insertionSort(array, low, high, comp);
    return;
  }
  tempLow = low + ofs;
  tempHigh = high + ofs;
  tempMid = tempLow + (tempHigh - tempLow >> 1);
  mergeSort_0(array, temp, tempLow, tempMid, -ofs, comp);
  mergeSort_0(array, temp, tempMid, tempHigh, -ofs, comp);
  if (comp.compare(temp[tempMid - 1], temp[tempMid]) <= 0) {
    while (low < high) {
      setCheck(array, low++, temp[tempLow++]);
    }
    return;
  }
  merge(temp, tempLow, tempMid, tempHigh, array, low, high, comp);
}

function $Arrays$ArrayList(this$static, array){
  this$static.array = array;
  return this$static;
}

function contains_8(o){
  return $indexOf_3(this, o) != -1;
}

function get_11(index){
  return checkIndex(index, this.array.length) , this.array[index];
}

function getClass_392(){
  return Ljava_util_Arrays$ArrayList_2_classLit;
}

function set_3(index, value){
  var was;
  checkIndex(index, this.array.length);
  was = this.array[index];
  setCheck(this.array, index, value);
  return was;
}

function size_14(){
  return this.array.length;
}

function toArray_3(){
  return clone(this.array);
}

function toArray_4(out){
  var i, size;
  size = this.array.length;
  out.length < size && (out = createFrom(out, size));
  for (i = 0; i < size; ++i) {
    setCheck(out, i, this.array[i]);
  }
  out.length > size && setCheck(out, size, null);
  return out;
}

function Arrays$ArrayList(){
}

_ = Arrays$ArrayList.prototype = new AbstractList;
_.contains = contains_8;
_.get_1 = get_11;
_.getClass$ = getClass_392;
_.set = set_3;
_.size_0 = size_14;
_.toArray = toArray_3;
_.toArray_0 = toArray_4;
_.typeId$ = 277;
_.array = null;
function $clinit_534(){
  $clinit_534 = nullMethod;
  unmodifiableList($ArrayList(new ArrayList));
  $Collections$UnmodifiableMap(new Collections$UnmodifiableMap, $HashMap(new HashMap));
  $Collections$UnmodifiableCollection(new Collections$UnmodifiableSet, $HashSet(new HashSet));
}

function replaceContents(target, x){
  var i, size;
  size = target.arrayList.size;
  for (i = 0; i < size; ++i) {
    $set_13(target.arrayList, i, x[i]);
  }
}

function reverse_0(l){
  var t;
  $clinit_534();
  var head, headElem, iBack, iFront, tail, tailElem;
  if (l) {
    for (iFront = 0 , iBack = l.arrayList.size - 1; iFront < iBack; ++iFront , --iBack) {
      t = $get_9(l.arrayList, iFront);
      $set_14(l, iFront, $get_9(l.arrayList, iBack));
      $set_13(l.arrayList, iBack, t);
    }
  }
   else {
    head = $AbstractList$ListIteratorImpl(new AbstractList$ListIteratorImpl, 0, l);
    tail = $listIterator(l, l.arrayList.size);
    while (head.i < tail.i - 1) {
      headElem = $next_4(head);
      tailElem = $previous(tail);
      $set_12(head, tailElem);
      $set_12(tail, headElem);
    }
  }
}

function sort(target, c){
  $clinit_534();
  var x;
  x = $toArray_0(target.arrayList);
  mergeSort(x, 0, x.length, c?c:($clinit_545() , $clinit_545() , NATURAL));
  replaceContents(target, x);
}

function unmodifiableList(list){
  return list?$Collections$UnmodifiableRandomAccessList(new Collections$UnmodifiableRandomAccessList, list):$Collections$UnmodifiableList(new Collections$UnmodifiableList, list);
}

function $Collections$UnmodifiableCollection(this$static, coll){
  this$static.coll = coll;
  return this$static;
}

function add_7(o){
  throw $UnsupportedOperationException(new UnsupportedOperationException);
}

function contains_9(o){
  return this.coll.contains(o);
}

function getClass_393(){
  return Ljava_util_Collections$UnmodifiableCollection_2_classLit;
}

function iterator_10(){
  return $Collections$UnmodifiableCollectionIterator(new Collections$UnmodifiableCollectionIterator, this.coll.iterator_0());
}

function remove_27(o){
  throw $UnsupportedOperationException(new UnsupportedOperationException);
}

function size_15(){
  return this.coll.size_0();
}

function toArray_5(){
  return this.coll.toArray();
}

function toString_39(){
  return this.coll.toString$();
}

function Collections$UnmodifiableCollection(){
}

_ = Collections$UnmodifiableCollection.prototype = new Object_0;
_.add = add_7;
_.contains = contains_9;
_.getClass$ = getClass_393;
_.iterator_0 = iterator_10;
_.remove_1 = remove_27;
_.size_0 = size_15;
_.toArray = toArray_5;
_.toString$ = toString_39;
_.typeId$ = 0;
_.coll = null;
function $Collections$UnmodifiableCollectionIterator(this$static, it){
  this$static.it = it;
  return this$static;
}

function getClass_394(){
  return Ljava_util_Collections$UnmodifiableCollectionIterator_2_classLit;
}

function hasNext_7(){
  return this.it.hasNext();
}

function next_8(){
  return this.it.next_0();
}

function remove_28(){
  throw $UnsupportedOperationException(new UnsupportedOperationException);
}

function Collections$UnmodifiableCollectionIterator(){
}

_ = Collections$UnmodifiableCollectionIterator.prototype = new Object_0;
_.getClass$ = getClass_394;
_.hasNext = hasNext_7;
_.next_0 = next_8;
_.remove_2 = remove_28;
_.typeId$ = 0;
_.it = null;
function $Collections$UnmodifiableList(this$static, list){
  this$static.coll = list;
  this$static.list = list;
  return this$static;
}

function equals_24(o){
  return $equals_5(this.list, o);
}

function get_12(index){
  return $get_9(this.list, index);
}

function getClass_395(){
  return Ljava_util_Collections$UnmodifiableList_2_classLit;
}

function hashCode_23(){
  return $hashCode_4(this.list);
}

function isEmpty_2(){
  return this.list.size == 0;
}

function set_4(index, element){
  throw $UnsupportedOperationException(new UnsupportedOperationException);
}

function Collections$UnmodifiableList(){
}

_ = Collections$UnmodifiableList.prototype = new Collections$UnmodifiableCollection;
_.equals$ = equals_24;
_.get_1 = get_12;
_.getClass$ = getClass_395;
_.hashCode$ = hashCode_23;
_.isEmpty = isEmpty_2;
_.set = set_4;
_.typeId$ = 278;
_.list = null;
function $Collections$UnmodifiableMap(this$static, map){
  this$static.map = map;
  return this$static;
}

function containsKey_2(key){
  return $containsKey_2(this.map, key);
}

function entrySet_2(){
  !this.entrySet && (this.entrySet = $Collections$UnmodifiableMap$UnmodifiableEntrySet(new Collections$UnmodifiableMap$UnmodifiableEntrySet, $AbstractHashMap$EntrySet(new AbstractHashMap$EntrySet, this.map)));
  return this.entrySet;
}

function equals_25(o){
  return $equals_1(this.map, o);
}

function get_13(key){
  return $get_8(this.map, key);
}

function getClass_396(){
  return Ljava_util_Collections$UnmodifiableMap_2_classLit;
}

function hashCode_24(){
  return $hashCode_0(this.map);
}

function keySet_1(){
  !this.keySet && (this.keySet = $Collections$UnmodifiableSet(new Collections$UnmodifiableSet, $keySet(this.map)));
  return this.keySet;
}

function put_3(key, value){
  throw $UnsupportedOperationException(new UnsupportedOperationException);
}

function remove_29(key){
  throw $UnsupportedOperationException(new UnsupportedOperationException);
}

function size_16(){
  return this.map.size;
}

function toString_40(){
  return $toString_0(this.map);
}

function Collections$UnmodifiableMap(){
}

_ = Collections$UnmodifiableMap.prototype = new Object_0;
_.containsKey = containsKey_2;
_.entrySet_0 = entrySet_2;
_.equals$ = equals_25;
_.get_0 = get_13;
_.getClass$ = getClass_396;
_.hashCode$ = hashCode_24;
_.keySet_0 = keySet_1;
_.put = put_3;
_.remove_0 = remove_29;
_.size_0 = size_16;
_.toString$ = toString_40;
_.typeId$ = 279;
_.entrySet = null;
_.keySet = null;
_.map = null;
function $Collections$UnmodifiableSet(this$static, set){
  this$static.coll = set;
  return this$static;
}

function equals_26(o){
  return this.coll.equals$(o);
}

function getClass_397(){
  return Ljava_util_Collections$UnmodifiableSet_2_classLit;
}

function hashCode_25(){
  return this.coll.hashCode$();
}

function Collections$UnmodifiableSet(){
}

_ = Collections$UnmodifiableSet.prototype = new Collections$UnmodifiableCollection;
_.equals$ = equals_26;
_.getClass$ = getClass_397;
_.hashCode$ = hashCode_25;
_.typeId$ = 280;
function $Collections$UnmodifiableMap$UnmodifiableEntrySet(this$static, s){
  this$static.coll = s;
  return this$static;
}

function $wrap_0(array, size){
  var i;
  for (i = 0; i < size; ++i) {
    setCheck(array, i, $Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry(new Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry, dynamicCast(array[i], 40)));
  }
}

function contains_10(o){
  return this.coll.contains(o);
}

function getClass_398(){
  return Ljava_util_Collections$UnmodifiableMap$UnmodifiableEntrySet_2_classLit;
}

function iterator_11(){
  var it;
  it = this.coll.iterator_0();
  return $Collections$UnmodifiableMap$UnmodifiableEntrySet$1(new Collections$UnmodifiableMap$UnmodifiableEntrySet$1, it);
}

function toArray_6(){
  var array;
  array = this.coll.toArray();
  $wrap_0(array, array.length);
  return array;
}

function Collections$UnmodifiableMap$UnmodifiableEntrySet(){
}

_ = Collections$UnmodifiableMap$UnmodifiableEntrySet.prototype = new Collections$UnmodifiableSet;
_.contains = contains_10;
_.getClass$ = getClass_398;
_.iterator_0 = iterator_11;
_.toArray = toArray_6;
_.typeId$ = 281;
function $Collections$UnmodifiableMap$UnmodifiableEntrySet$1(this$static, val$it){
  this$static.val$it = val$it;
  return this$static;
}

function getClass_399(){
  return Ljava_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$1_2_classLit;
}

function hasNext_8(){
  return this.val$it.hasNext();
}

function next_9(){
  return $Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry(new Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry, dynamicCast(this.val$it.next_0(), 40));
}

function remove_30(){
  throw $UnsupportedOperationException(new UnsupportedOperationException);
}

function Collections$UnmodifiableMap$UnmodifiableEntrySet$1(){
}

_ = Collections$UnmodifiableMap$UnmodifiableEntrySet$1.prototype = new Object_0;
_.getClass$ = getClass_399;
_.hasNext = hasNext_8;
_.next_0 = next_9;
_.remove_2 = remove_30;
_.typeId$ = 0;
_.val$it = null;
function $Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry(this$static, entry){
  this$static.entry = entry;
  return this$static;
}

function equals_27(o){
  return this.entry.equals$(o);
}

function getClass_400(){
  return Ljava_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry_2_classLit;
}

function getKey_2(){
  return this.entry.getKey();
}

function getValue_2(){
  return this.entry.getValue();
}

function hashCode_26(){
  return this.entry.hashCode$();
}

function setValue_4(value){
  throw $UnsupportedOperationException(new UnsupportedOperationException);
}

function toString_41(){
  return toString__devirtual$(this.entry);
}

function Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry(){
}

_ = Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry.prototype = new Object_0;
_.equals$ = equals_27;
_.getClass$ = getClass_400;
_.getKey = getKey_2;
_.getValue = getValue_2;
_.hashCode$ = hashCode_26;
_.setValue = setValue_4;
_.toString$ = toString_41;
_.typeId$ = 282;
_.entry = null;
function $Collections$UnmodifiableRandomAccessList(this$static, list){
  this$static.coll = list;
  this$static.list = list;
  return this$static;
}

function getClass_401(){
  return Ljava_util_Collections$UnmodifiableRandomAccessList_2_classLit;
}

function Collections$UnmodifiableRandomAccessList(){
}

_ = Collections$UnmodifiableRandomAccessList.prototype = new Collections$UnmodifiableList;
_.getClass$ = getClass_401;
_.typeId$ = 283;
function $clinit_545(){
  $clinit_545 = nullMethod;
  NATURAL = new Comparators$1;
}

var NATURAL;
function compare_2(o1, o2){
  return dynamicCast(o1, 31).compareTo$(o2);
}

function getClass_402(){
  return Ljava_util_Comparators$1_2_classLit;
}

function Comparators$1(){
}

_ = Comparators$1.prototype = new Object_0;
_.compare = compare_2;
_.getClass$ = getClass_402;
_.typeId$ = 0;
function $EmptyStackException(this$static){
  $fillInStackTrace();
  return this$static;
}

function getClass_403(){
  return Ljava_util_EmptyStackException_2_classLit;
}

function EmptyStackException(){
}

_ = EmptyStackException.prototype = new RuntimeException;
_.getClass$ = getClass_403;
_.typeId$ = 284;
function $HashMap(this$static){
  $clearImpl(this$static);
  return this$static;
}

function $equals_6(value1, value2){
  return (value1 == null?null:value1) === (value2 == null?null:value2) || value1 != null && equals__devirtual$(value1, value2);
}

function equals_28(value1, value2){
  return (value1 == null?null:value1) === (value2 == null?null:value2) || value1 != null && equals__devirtual$(value1, value2);
}

function getClass_404(){
  return Ljava_util_HashMap_2_classLit;
}

function getHashCode_1(key){
  return ~~hashCode__devirtual$(key);
}

function HashMap(){
}

_ = HashMap.prototype = new AbstractHashMap;
_.equals = equals_28;
_.getClass$ = getClass_404;
_.getHashCode = getHashCode_1;
_.typeId$ = 285;
function $HashSet(this$static){
  this$static.map = $HashMap(new HashMap);
  return this$static;
}

function $add_15(this$static, o){
  var old;
  old = $put_4(this$static.map, o, this$static);
  return old == null;
}

function add_8(o){
  var old;
  return old = $put_4(this.map, o, this) , old == null;
}

function contains_11(o){
  return $containsKey_2(this.map, o);
}

function getClass_405(){
  return Ljava_util_HashSet_2_classLit;
}

function isEmpty_3(){
  return this.map.size == 0;
}

function iterator_12(){
  var outerIter;
  return outerIter = $keySet(this.map).val$entrySet.iterator_0() , $AbstractMap$1$1(new AbstractMap$1$1, outerIter);
}

function remove_31(o){
  return $remove_16(this.map, o) != null;
}

function size_17(){
  return this.map.size;
}

function toString_42(){
  return $toString_1($keySet(this.map));
}

function HashSet(){
}

_ = HashSet.prototype = new AbstractSet;
_.add = add_8;
_.contains = contains_11;
_.getClass$ = getClass_405;
_.isEmpty = isEmpty_3;
_.iterator_0 = iterator_12;
_.remove_1 = remove_31;
_.size_0 = size_17;
_.toString$ = toString_42;
_.typeId$ = 286;
_.map = null;
function $MapEntryImpl(this$static, key, value){
  this$static.key = key;
  this$static.value = value;
  return this$static;
}

function getClass_406(){
  return Ljava_util_MapEntryImpl_2_classLit;
}

function getKey_3(){
  return this.key;
}

function getValue_3(){
  return this.value;
}

function setValue_5(value){
  var old;
  old = this.value;
  this.value = value;
  return old;
}

function MapEntryImpl(){
}

_ = MapEntryImpl.prototype = new AbstractMapEntry;
_.getClass$ = getClass_406;
_.getKey = getKey_3;
_.getValue = getValue_3;
_.setValue = setValue_5;
_.typeId$ = 287;
_.key = null;
_.value = null;
function $NoSuchElementException(this$static){
  $fillInStackTrace();
  return this$static;
}

function getClass_407(){
  return Ljava_util_NoSuchElementException_2_classLit;
}

function NoSuchElementException(){
}

_ = NoSuchElementException.prototype = new RuntimeException;
_.getClass$ = getClass_407;
_.typeId$ = 288;
function $set_14(this$static, index, elem){
  return $set_13(this$static.arrayList, index, elem);
}

function add_9(o){
  return $add_13(this.arrayList, o);
}

function add_10(index, o){
  $add_14(this.arrayList, index, o);
}

function contains_12(elem){
  return $indexOf_4(this.arrayList, elem, 0) != -1;
}

function get_14(index){
  return $get_9(this.arrayList, index);
}

function getClass_408(){
  return Ljava_util_Vector_2_classLit;
}

function isEmpty_4(){
  return this.arrayList.size == 0;
}

function iterator_13(){
  return $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, this.arrayList);
}

function remove_32(index){
  return $remove_19(this.arrayList, index);
}

function set_5(index, elem){
  return $set_13(this.arrayList, index, elem);
}

function size_18(){
  return this.arrayList.size;
}

function toArray_7(){
  return $toArray_0(this.arrayList);
}

function toArray_8(a){
  return $toArray_1(this.arrayList, a);
}

function toString_43(){
  return $toString_1(this.arrayList);
}

function Vector(){
}

_ = Vector.prototype = new AbstractList;
_.add = add_9;
_.add_0 = add_10;
_.contains = contains_12;
_.get_1 = get_14;
_.getClass$ = getClass_408;
_.isEmpty = isEmpty_4;
_.iterator_0 = iterator_13;
_.remove_5 = remove_32;
_.set = set_5;
_.size_0 = size_18;
_.toArray = toArray_7;
_.toArray_0 = toArray_8;
_.toString$ = toString_43;
_.typeId$ = 289;
_.arrayList = null;
function $Stack(this$static){
  this$static.arrayList = $ArrayList(new ArrayList);
  return this$static;
}

function $pop(this$static){
  var sz;
  sz = this$static.arrayList.size;
  if (sz > 0) {
    return $remove_19(this$static.arrayList, sz - 1);
  }
   else {
    throw $EmptyStackException(new EmptyStackException);
  }
}

function getClass_409(){
  return Ljava_util_Stack_2_classLit;
}

--></script>
<script><!--
function Stack(){
}

_ = Stack.prototype = new Vector;
_.getClass$ = getClass_409;
_.typeId$ = 290;
function equalsWithNullCheck(a, b){
  return (a == null?null:a) === (b == null?null:b) || a != null && equals__devirtual$(a, b);
}

function addModule(m){
  !modules && (modules = $ArrayList(new ArrayList));
  $add_13(modules, m);
}

function getModules(){
  !modules && (modules = $ArrayList(new ArrayList));
  return modules;
}

var modules = null;
function $AppController(this$static){
  $registerEventTypes(this$static, initValues(_3Lcom_extjs_gxt_ui_client_event_EventType_2_classLit, 313, 14, [($clinit_565() , Init)]));
  $registerEventTypes(this$static, initValues(_3Lcom_extjs_gxt_ui_client_event_EventType_2_classLit, 313, 14, [Error_0]));
  return this$static;
}

function getClass_410(){
  return Lweb_app_client_AppController_2_classLit;
}

function handleEvent_36(event_0){
  var type;
  type = event_0.type_0;
  type == ($clinit_565() , Init)?$forwardToView(this.appView, event_0):type == Error_0;
}

function initialize_0(){
  this.appView = $AppView(new AppView, this);
}

function AppController(){
}

_ = AppController.prototype = new Controller;
_.getClass$ = getClass_410;
_.handleEvent_0 = handleEvent_36;
_.initialize = initialize_0;
_.typeId$ = 291;
_.appView = null;
function $clinit_565(){
  $clinit_565 = nullMethod;
  Init = $EventType(new EventType);
  $EventType(new EventType);
  Error_0 = $EventType(new EventType);
}

var Error_0, Init;
function $AppView(this$static, controller){
  this$static.controller = controller;
  return this$static;
}

function $createHeader(this$static){
  var btn, data, m$iterator, northPanel, sb, toolBar;
  toolBar = $ToolBar(new ToolBar);
  sb = $StringBuffer(new StringBuffer);
  sb.impl.string += "<div style='width:250px'><img src='resources/images/logo.jpg' /><div style='font-size'>powered by ????<\/div><\/div>";
  $add_8(toolBar, $HtmlContainer(new HtmlContainer, sb.impl.string));
  for (m$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, getModules()); m$iterator.i < m$iterator.this$0_0.size_0();) {
    dynamicCast($next_4(m$iterator), 126);
    btn = $Button(new Button);
    btn.arrowAlign = ($clinit_6() , BOTTOM);
    $setIcon_1(btn, ($clinit_582() , $clinit_581() , moduleIcon_SINGLETON));
    $setSize_1(btn, -1, 55);
    $setSize_1(btn, 55, -1);
    btn.iconAlign = ($clinit_11() , TOP);
    $insert_4(toolBar, btn, toolBar.items.size);
  }
  northPanel = $ContentPanel(new ContentPanel);
  northPanel.stateful = false;
  data = $BorderLayoutData_0(new BorderLayoutData, ($clinit_12() , NORTH), 65);
  data.margins = $Margins(new Margins);
  $add_7(this$static.viewport, toolBar, data);
}

function $showModule(this$static, m){
  $removeAll(this$static.centerPanel, false);
  $add_6(this$static.centerPanel, (!m.manager && (m.manager = $Manager(new Manager)) , m.manager));
  $layout_0(this$static.centerPanel, false);
}

function getClass_411(){
  return Lweb_app_client_AppView_2_classLit;
}

function handleEvent_37(event_0){
  var data;
  if (event_0.type_0 == ($clinit_565() , Init)) {
    this.viewport = $Viewport(new Viewport);
    $setLayout(this.viewport, $BorderLayout(new BorderLayout));
    $createHeader(this);
    this.centerPanel = $LayoutContainer(new LayoutContainer);
    $setLayout(this.centerPanel, $FitLayout(new FitLayout));
    data = $BorderLayoutData(new BorderLayoutData, ($clinit_12() , CENTER_0));
    $add_7(this.viewport, this.centerPanel, data);
    $clinit_4();
    $put_0(map_3, 'viewport', this.viewport);
    $put_0(map_3, 'app.header_panel', this.header);
    $put_0(map_3, 'app.center_panel', this.centerPanel);
    $add_10(($clinit_465() , get_8(null)), this.viewport);
    $showModule(this, dynamicCast($get_9(getModules(), 0), 126));
  }
}

function AppView(){
}

_ = AppView.prototype = new View;
_.getClass$ = getClass_411;
_.handleEvent_0 = handleEvent_37;
_.typeId$ = 0;
_.centerPanel = null;
_.header = null;
_.viewport = null;
function $AuthController(this$static){
  $registerEventTypes(this$static, initValues(_3Lcom_extjs_gxt_ui_client_event_EventType_2_classLit, 313, 14, [($clinit_569() , AuthRequested)]));
  $registerEventTypes(this$static, initValues(_3Lcom_extjs_gxt_ui_client_event_EventType_2_classLit, 313, 14, [AuthRequired]));
  $registerEventTypes(this$static, initValues(_3Lcom_extjs_gxt_ui_client_event_EventType_2_classLit, 313, 14, [AuthDenied, AuthSuccess]));
  this$static.view = $LoginView(new LoginView, this$static);
  return this$static;
}

function getClass_412(){
  return Lweb_app_client_security_AuthController_2_classLit;
}

function handleEvent_38(event_0){
  var t, e;
  t = event_0.type_0;
  t == ($clinit_569() , AuthRequired)?$show_2(this.view.dialog):t == AuthRequested?(dynamicCast($getData_0(event_0, 'USERNAME'), 1) , e = $AppEvent_0(new AppEvent, AuthSuccess) , $clinit_111() , $dispatch(get_3(), e) , undefined):$forwardToView(this.view, event_0);
}

function AuthController(){
}

_ = AuthController.prototype = new Controller;
_.getClass$ = getClass_412;
_.handleEvent_0 = handleEvent_38;
_.typeId$ = 292;
_.view = null;
function $clinit_569(){
  $clinit_569 = nullMethod;
  AuthRequired = $EventType(new EventType);
  AuthRequested = $EventType(new EventType);
  AuthDenied = $EventType(new EventType);
  AuthSuccess = $EventType(new EventType);
}

var AuthDenied, AuthRequested, AuthRequired, AuthSuccess;
function $clinit_570(){
  $clinit_570 = nullMethod;
  $EventType(new EventType);
}

function $LoginView(this$static, controller){
  var keyListener, layout;
  $clinit_570();
  this$static.controller = controller;
  this$static.dialog = $Dialog(new Dialog);
  this$static.dialog.closable = false;
  $setHeading(this$static.dialog, 'Web Application Login');
  layout = $FormLayout(new FormLayout);
  layout.labelWidth = 90;
  layout.defaultWidth = 155;
  $setLayout(this$static.dialog, layout);
  $setButtonAlign(this$static.dialog, ($clinit_10() , LEFT_0));
  $setButtons(this$static.dialog, '');
  $setIcon_0(this$static.dialog.head, createStyle('user', 16, 16));
  this$static.dialog.modal = true;
  this$static.dialog.bodyBorder = true;
  this$static.dialog.bodyStyle = 'padding: 8px;background: none';
  $setSize_1(this$static.dialog, 300, -1);
  $setResizable(this$static.dialog, false);
  keyListener = $LoginView$1(new LoginView$1, this$static);
  this$static.userName = $TextField(new TextField);
  this$static.userName.minLength = 4;
  $setFieldLabel(this$static.userName, 'Username');
  $addKeyListener(this$static.userName, keyListener);
  $add_6(this$static.dialog, this$static.userName);
  this$static.password = $TextField(new TextField);
  this$static.password.minLength = 4;
  this$static.password.password = true;
  $setFieldLabel(this$static.password, 'Password');
  $addKeyListener(this$static.password, keyListener);
  $add_6(this$static.dialog, this$static.password);
  this$static.dialog.focusWidget = this$static.userName;
  this$static.status_0 = $Status(new Status);
  $setBusy(this$static.status_0, 'please wait...');
  $hide_0(this$static.status_0);
  this$static.status_0.autoWidth = true;
  $add_8(this$static.dialog.fbar, this$static.status_0);
  $add_8(this$static.dialog.fbar, $FillToolItem(new FillToolItem));
  this$static.reset = $Button_0(new Button, 'Reset');
  $addListener(this$static.reset.observable, ($clinit_56() , Select), $LoginView$2(new LoginView$2, this$static));
  this$static.login = $Button_0(new Button, 'Login');
  $disable(this$static.login);
  $addListener(this$static.login.observable, Select, $LoginView$3(new LoginView$3, this$static));
  $add_5(this$static.dialog.fbar, this$static.reset);
  $add_5(this$static.dialog.fbar, this$static.login);
  return this$static;
}

function $authRequest(this$static){
  var evt;
  $setBusy(this$static.status_0, 'authorizing');
  $show_0(this$static.status_0);
  $disable_0(this$static.dialog.fbar);
  evt = $AppEvent(new AppEvent, ($clinit_569() , AuthRequested));
  $setData_0(evt, 'USERNAME', $getValue(this$static.userName));
  $setData_0(evt, 'PASSWORD', $getValue(this$static.password));
  $clinit_111();
  $dispatch(get_3(), evt);
  $fireEvent_3(this$static, evt);
}

function $hasValue(field){
  return $getValue(field) != null && dynamicCast($getValue(field), 1).length > 0;
}

function $validate_0(this$static){
  $setEnabled_1(this$static.login, $hasValue(this$static.userName) && $hasValue(this$static.password) && dynamicCast($getValue(this$static.password), 1).length > 3);
}

function getClass_413(){
  return Lweb_app_client_ui_LoginView_2_classLit;
}

function handleEvent_39(event_0){
  var t;
  t = event_0.type_0;
  if (t == ($clinit_569() , AuthDenied)) {
    $setText_0(this.status_0, 'authorization failed');
    $enable_0(this.dialog.fbar);
  }
   else 
    t == AuthSuccess && $hide_3(this.dialog);
}

function LoginView(){
}

_ = LoginView.prototype = new View;
_.getClass$ = getClass_413;
_.handleEvent_0 = handleEvent_39;
_.typeId$ = 0;
_.dialog = null;
_.login = null;
_.password = null;
_.reset = null;
_.status_0 = null;
_.userName = null;
function $LoginView$1(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function componentKeyUp_0(event_0){
  $validate_0(this.this$0);
}

function getClass_414(){
  return Lweb_app_client_ui_LoginView$1_2_classLit;
}

function LoginView$1(){
}

_ = LoginView$1.prototype = new KeyListener;
_.componentKeyUp = componentKeyUp_0;
_.getClass$ = getClass_414;
_.typeId$ = 293;
_.this$0 = null;
function $LoginView$2(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $componentSelected_9(this$static){
  $reset(this$static.this$0.userName);
  $reset(this$static.this$0.password);
  $validate_0(this$static.this$0);
  $focus_2(this$static.this$0.userName);
}

function componentSelected_9(p0){
  $componentSelected_9(this, dynamicCast(p0, 70));
}

function getClass_415(){
  return Lweb_app_client_ui_LoginView$2_2_classLit;
}

function LoginView$2(){
}

_ = LoginView$2.prototype = new SelectionListener;
_.componentSelected = componentSelected_9;
_.getClass$ = getClass_415;
_.typeId$ = 294;
_.this$0 = null;
function $LoginView$3(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $componentSelected_10(this$static){
  $authRequest(this$static.this$0);
}

function componentSelected_10(p0){
  $componentSelected_10(this, dynamicCast(p0, 70));
}

function getClass_416(){
  return Lweb_app_client_ui_LoginView$3_2_classLit;
}

function LoginView$3(){
}

_ = LoginView$3.prototype = new SelectionListener;
_.componentSelected = componentSelected_10;
_.getClass$ = getClass_416;
_.typeId$ = 295;
_.this$0 = null;
function create_2(def){
  return $create_1((dynamicCast($get_8(typeCache, def.type_0), 128) , def));
}

function createComponent(fqn){
  if ($containsKey_2(defCache, fqn)) {
    return create_2(dynamicCast($get_8(defCache, fqn), 127));
  }
   else {
    return null;
  }
}

function createField(type){
  if (type == 'text') {
    return $TextField(new TextField);
  }
   else if (type == 'integer') {
    return $NumberField(new NumberField);
  }
   else if (type == 'datetime') {
    return $DateField(new DateField);
  }
   else {
    return null;
  }
}

var defCache = null, typeCache = null;
function $DynDef(this$static){
  $clearImpl(this$static);
  return this$static;
}

function getClass_417(){
  return Lweb_dynamic_client_DynDef_2_classLit;
}

function DynDef(){
}

_ = DynDef.prototype = new HashMap;
_.getClass$ = getClass_417;
_.typeId$ = 296;
_.type_0 = null;
function $create_1(def){
  var f_0, f$iterator, fields, fld, panel;
  panel = $FormPanel(new FormPanel);
  fields = dynamicCast(def.stringMap[':fields'], 42);
  for (f$iterator = fields.iterator_0(); f$iterator.hasNext();) {
    f_0 = dynamicCast(f$iterator.next_0(), 43);
    fld = createField(dynamicCast(f_0.get_0('type'), 1));
    $setName(fld, dynamicCast(f_0.get_0('name'), 1));
    $setFieldLabel(fld, dynamicCast(f_0.get_0('name'), 1));
    $insert_2(panel, fld, panel.items.size);
  }
  return panel;
}

function getClass_418(){
  return Lweb_dynamic_client_DynForm_2_classLit;
}

function DynForm(){
}

_ = DynForm.prototype = new Object_0;
_.getClass$ = getClass_418;
_.typeId$ = 297;
function $DynModelProp(this$static){
  $clearImpl(this$static);
  return this$static;
}

function getClass_419(){
  return Lweb_dynamic_client_DynModelProp_2_classLit;
}

function DynModelProp(){
}

_ = DynModelProp.prototype = new HashMap;
_.getClass$ = getClass_419;
_.typeId$ = 298;
function getClass_420(){
  return Lweb_dynamic_client_DynamicModule_2_classLit;
}

function DynamicModule(){
}

_ = DynamicModule.prototype = new Object_0;
_.getClass$ = getClass_420;
_.typeId$ = 299;
_.manager = null;
function $clinit_580(){
  $clinit_580 = nullMethod;
  $clinit_142();
}

function $Manager(this$static){
  $clinit_580();
  $LayoutContainer(this$static);
  return this$static;
}

function getClass_421(){
  return Lweb_dynamic_client_Manager_2_classLit;
}

function onRender_32(parent_0, index){
  var f_0, dynForm, dynModel, dynStore, p, props, entrySet;
  $onRender_0(this, parent_0, index);
  $setLayout(this, $FitLayout(new FitLayout));
  defCache = $HashMap(new HashMap);
  typeCache = $HashMap(new HashMap);
  props = $ArrayList(new ArrayList);
  p = $DynModelProp(new DynModelProp);
  $putStringValue(p, 'name', 'Name');
  $putStringValue(p, 'type', 'text');
  setCheck(props.array, props.size++, p);
  p = $DynModelProp(new DynModelProp);
  $putStringValue(p, 'name', 'OrderCount');
  $putStringValue(p, 'type', 'integer');
  setCheck(props.array, props.size++, p);
  p = $DynModelProp(new DynModelProp);
  $putStringValue(p, 'name', 'LastOrderDate');
  $putStringValue(p, 'type', 'datetime');
  setCheck(props.array, props.size++, p);
  dynModel = $DynDef(new DynDef);
  dynModel.type_0 = 'dynmodel';
  $putStringValue(dynModel, 'properties', props);
  dynStore = $DynDef(new DynDef);
  dynStore.type_0 = 'dynstore';
  $put_4(dynStore, 'model', (entrySet = $AbstractHashMap$EntrySet(new AbstractHashMap$EntrySet, dynModel) , $AbstractMap$2(new AbstractMap$2, dynModel, entrySet)));
  dynForm = $DynDef(new DynDef);
  dynForm.type_0 = 'dynform';
  $putStringValue(dynForm, 'store', dynStore);
  $put_4(dynForm, 'fields', dynModel.stringMap[':properties']);
  $put_4(defCache, 'example.sales.saleinfo.form', dynForm);
  $put_4(typeCache, 'dynform', new DynForm);
  f_0 = createComponent('example.sales.saleinfo.form');
  $insert_1(this, f_0, this.items.size);
}

function Manager(){
}

_ = Manager.prototype = new LayoutContainer;
_.getClass$ = getClass_421;
_.onRender = onRender_32;
_.typeId$ = 300;
function $clinit_581(){
  $clinit_581 = nullMethod;
  IMAGE_BUNDLE_URL_0 = $moduleBase + 'B8845F0E705BA8C763DEB2CB99970FC0.cache.png';
  moduleIcon_SINGLETON = $ClippedImagePrototype(new ClippedImagePrototype, IMAGE_BUNDLE_URL_0, 0, 0, 48, 48);
}

var IMAGE_BUNDLE_URL_0, moduleIcon_SINGLETON;
function $clinit_582(){
  $clinit_582 = nullMethod;
  $clinit_581();
}

function $onModuleLoad(this$static){
  addModule(new DynamicModule);
  $addController(get_3(), this$static);
  $registerEventTypes(this$static, initValues(_3Lcom_extjs_gxt_ui_client_event_EventType_2_classLit, 313, 14, [($clinit_569() , AuthSuccess)]));
  $addController(get_3(), $AuthController(new AuthController));
  forwardEvent(AuthRequired);
  hideLoadingPanel('loading');
}

function getClass_422(){
  return Lweb_example_client_Main_2_classLit;
}

function handleEvent_40(e){
  $addController(get_3(), $AppController(new AppController));
  forwardEvent(($clinit_565() , Init));
  $remove_20(get_3().controllers, this);
}

function Main(){
}

_ = Main.prototype = new Controller;
_.getClass$ = getClass_422;
_.handleEvent_0 = handleEvent_40;
_.typeId$ = 301;
var $entry = entry_0;
function gwtOnLoad(errFn, modName, modBase){
  $moduleName = modName;
  $moduleBase = modBase;
  if (errFn)
    try {
      $entry(init_0)();
    }
     catch (e) {
      errFn(modName);
    }
   else {
    $entry(init_0)();
  }
}

--></script>
<script><!--
var Ljava_lang_Object_2_classLit = createForClass('java.lang.', 'Object'), _3I_classLit = createForArray('', '[I'), Lcom_extjs_gxt_ui_client_event_BaseObservable_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'BaseObservable'), Lcom_extjs_gxt_ui_client_aria_FocusFrame_2_classLit = createForClass('com.extjs.gxt.ui.client.aria.', 'FocusFrame'), Lcom_extjs_gxt_ui_client_util_BaseEventPreview_2_classLit = createForClass('com.extjs.gxt.ui.client.util.', 'BaseEventPreview'), Ljava_lang_String_2_classLit = createForClass('java.lang.', 'String'), _3Ljava_lang_String_2_classLit = createForArray('[Ljava.lang.', 'String;'), Lcom_extjs_gxt_ui_client_core_impl_ComputedStyleImpl_2_classLit = createForClass('com.extjs.gxt.ui.client.core.impl.', 'ComputedStyleImpl'), Lcom_extjs_gxt_ui_client_core_CompositeElement_2_classLit = createForClass('com.extjs.gxt.ui.client.core.', 'CompositeElement'), _3Ljava_lang_Object_2_classLit = createForArray('[Ljava.lang.', 'Object;'), Lcom_extjs_gxt_ui_client_core_El_2_classLit = createForClass('com.extjs.gxt.ui.client.core.', 'El'), Ljava_lang_Enum_2_classLit = createForClass('java.lang.', 'Enum'), Lcom_extjs_gxt_ui_client_core_El$VisMode_2_classLit = createForEnum('com.extjs.gxt.ui.client.core.', 'El$VisMode', values_9), _3Lcom_extjs_gxt_ui_client_core_El$VisMode_2_classLit = createForArray('[Lcom.extjs.gxt.ui.client.core.', 'El$VisMode;'), Ljava_util_AbstractMap_2_classLit = createForClass('java.util.', 'AbstractMap'), Lcom_extjs_gxt_ui_client_core_FastMap_2_classLit = createForClass('com.extjs.gxt.ui.client.core.', 'FastMap'), Lcom_extjs_gxt_ui_client_core_FastMap$FastMapEntry_2_classLit = createForClass('com.extjs.gxt.ui.client.core.', 'FastMap$FastMapEntry'), Ljava_util_AbstractCollection_2_classLit = createForClass('java.util.', 'AbstractCollection'), Ljava_util_AbstractSet_2_classLit = createForClass('java.util.', 'AbstractSet'), Lcom_extjs_gxt_ui_client_core_FastMap$1_2_classLit = createForClass('com.extjs.gxt.ui.client.core.', 'FastMap$1'), Lcom_extjs_gxt_ui_client_core_FastMap$1$1_2_classLit = createForClass('com.extjs.gxt.ui.client.core.', 'FastMap$1$1'), Lcom_extjs_gxt_ui_client_core_FastMap$2_2_classLit = createForClass('com.extjs.gxt.ui.client.core.', 'FastMap$2'), Lcom_extjs_gxt_ui_client_core_FastSet_2_classLit = createForClass('com.extjs.gxt.ui.client.core.', 'FastSet'), Lcom_extjs_gxt_ui_client_core_Template_2_classLit = createForClass('com.extjs.gxt.ui.client.core.', 'Template'), Lcom_extjs_gxt_ui_client_data_BaseModelData_2_classLit = createForClass('com.extjs.gxt.ui.client.data.', 'BaseModelData'), Lcom_extjs_gxt_ui_client_data_BeanModelLookup_2_classLit = createForClass('com.extjs.gxt.ui.client.data.', 'BeanModelLookup'), Lcom_extjs_gxt_ui_client_data_BeanModelLookupImpl_2_classLit = createForClass('com.extjs.gxt.ui.client.data.', 'BeanModelLookupImpl'), Lcom_extjs_gxt_ui_client_event_BaseEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'BaseEvent'), Lcom_extjs_gxt_ui_client_data_RpcMap_2_classLit = createForClass('com.extjs.gxt.ui.client.data.', 'RpcMap'), Lcom_extjs_gxt_ui_client_event_LayoutEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'LayoutEvent'), Lcom_extjs_gxt_ui_client_event_BorderLayoutEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'BorderLayoutEvent'), Lcom_extjs_gxt_ui_client_event_DomEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'DomEvent'), Lcom_extjs_gxt_ui_client_event_ComponentEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'ComponentEvent'), Lcom_extjs_gxt_ui_client_event_BoxComponentEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'BoxComponentEvent'), Lcom_extjs_gxt_ui_client_event_ButtonEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'ButtonEvent'), Lcom_extjs_gxt_ui_client_event_ClickRepeaterEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'ClickRepeaterEvent'), Lcom_extjs_gxt_ui_client_event_ComponentManagerEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'ComponentManagerEvent'), Lcom_extjs_gxt_ui_client_event_ContainerEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'ContainerEvent'), Lcom_extjs_gxt_ui_client_event_DatePickerEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'DatePickerEvent'), Lcom_extjs_gxt_ui_client_event_DragEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'DragEvent'), Lcom_extjs_gxt_ui_client_event_DragListener_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'DragListener'), Lcom_extjs_gxt_ui_client_event_EventType_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'EventType'), Lcom_extjs_gxt_ui_client_event_FieldEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'FieldEvent'), Lcom_extjs_gxt_ui_client_event_FormEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'FormEvent'), Lcom_extjs_gxt_ui_client_event_FxEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'FxEvent'), Lcom_extjs_gxt_ui_client_event_HtmlContainerEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'HtmlContainerEvent'), Lcom_extjs_gxt_ui_client_event_IconButtonEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'IconButtonEvent'), Lcom_extjs_gxt_ui_client_event_KeyListener_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'KeyListener'), Lcom_extjs_gxt_ui_client_event_MenuEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'MenuEvent'), Lcom_extjs_gxt_ui_client_event_MvcEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'MvcEvent'), Lcom_extjs_gxt_ui_client_event_PreviewEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'PreviewEvent'), Lcom_extjs_gxt_ui_client_event_ResizeEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'ResizeEvent'), Lcom_extjs_gxt_ui_client_event_ResizeListener_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'ResizeListener'), Lcom_extjs_gxt_ui_client_event_SelectionListener_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'SelectionListener'), Lcom_extjs_gxt_ui_client_event_SplitBarEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'SplitBarEvent'), Lcom_extjs_gxt_ui_client_event_StateEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'StateEvent'), Lcom_extjs_gxt_ui_client_event_ToolBarEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'ToolBarEvent'), Lcom_extjs_gxt_ui_client_event_WindowEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'WindowEvent'), Lcom_extjs_gxt_ui_client_event_WindowManagerEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.event.', 'WindowManagerEvent'), Lcom_extjs_gxt_ui_client_fx_BaseEffect_2_classLit = createForClass('com.extjs.gxt.ui.client.fx.', 'BaseEffect'), Lcom_extjs_gxt_ui_client_fx_BaseEffect$Blink_2_classLit = createForClass('com.extjs.gxt.ui.client.fx.', 'BaseEffect$Blink'), Lcom_google_gwt_user_client_Timer_2_classLit = createForClass('com.google.gwt.user.client.', 'Timer'), Lcom_extjs_gxt_ui_client_fx_BaseEffect$Blink$1_2_classLit = createForClass('com.extjs.gxt.ui.client.fx.', 'BaseEffect$Blink$1'), Lcom_extjs_gxt_ui_client_fx_BaseEffect$Blink$2_2_classLit = createForClass('com.extjs.gxt.ui.client.fx.', 'BaseEffect$Blink$2'), Lcom_extjs_gxt_ui_client_fx_SingleStyleEffect_2_classLit = createForClass('com.extjs.gxt.ui.client.fx.', 'SingleStyleEffect'), Lcom_extjs_gxt_ui_client_fx_BaseEffect$FadeIn_2_classLit = createForClass('com.extjs.gxt.ui.client.fx.', 'BaseEffect$FadeIn'), Lcom_extjs_gxt_ui_client_fx_BaseEffect$FadeOut_2_classLit = createForClass('com.extjs.gxt.ui.client.fx.', 'BaseEffect$FadeOut'), Lcom_extjs_gxt_ui_client_fx_BaseEffect$Slide_2_classLit = createForClass('com.extjs.gxt.ui.client.fx.', 'BaseEffect$Slide'), Lcom_extjs_gxt_ui_client_fx_BaseEffect$SlideIn_2_classLit = createForClass('com.extjs.gxt.ui.client.fx.', 'BaseEffect$SlideIn'), Lcom_extjs_gxt_ui_client_fx_BaseEffect$SlideOut_2_classLit = createForClass('com.extjs.gxt.ui.client.fx.', 'BaseEffect$SlideOut'), Lcom_extjs_gxt_ui_client_fx_Draggable_2_classLit = createForClass('com.extjs.gxt.ui.client.fx.', 'Draggable'), Lcom_extjs_gxt_ui_client_fx_Draggable$1_2_classLit = createForClass('com.extjs.gxt.ui.client.fx.', 'Draggable$1'), Lcom_extjs_gxt_ui_client_fx_Draggable$2_2_classLit = createForClass('com.extjs.gxt.ui.client.fx.', 'Draggable$2'), Lcom_extjs_gxt_ui_client_fx_Fx_2_classLit = createForClass('com.extjs.gxt.ui.client.fx.', 'Fx'), Lcom_google_gwt_animation_client_Animation_2_classLit = createForClass('com.google.gwt.animation.client.', 'Animation'), Lcom_extjs_gxt_ui_client_fx_Fx$1_2_classLit = createForClass('com.extjs.gxt.ui.client.fx.', 'Fx$1'), Lcom_extjs_gxt_ui_client_fx_FxConfig_2_classLit = createForClass('com.extjs.gxt.ui.client.fx.', 'FxConfig'), Lcom_extjs_gxt_ui_client_fx_Resizable_2_classLit = createForClass('com.extjs.gxt.ui.client.fx.', 'Resizable'), Lcom_extjs_gxt_ui_client_fx_Resizable$Dir_2_classLit = createForEnum('com.extjs.gxt.ui.client.fx.', 'Resizable$Dir', values_10), _3Lcom_extjs_gxt_ui_client_fx_Resizable$Dir_2_classLit = createForArray('[Lcom.extjs.gxt.ui.client.fx.', 'Resizable$Dir;'), Lcom_google_gwt_user_client_ui_UIObject_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'UIObject'), Lcom_google_gwt_user_client_ui_Widget_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'Widget'), Lcom_extjs_gxt_ui_client_widget_Component_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Component'), Lcom_extjs_gxt_ui_client_fx_Resizable$ResizeHandle_2_classLit = createForClass('com.extjs.gxt.ui.client.fx.', 'Resizable$ResizeHandle'), Lcom_extjs_gxt_ui_client_fx_Resizable$1_2_classLit = createForClass('com.extjs.gxt.ui.client.fx.', 'Resizable$1'), Lcom_extjs_gxt_ui_client_fx_Resizable$2_2_classLit = createForClass('com.extjs.gxt.ui.client.fx.', 'Resizable$2'), Lcom_extjs_gxt_ui_client_js_JsArray_2_classLit = createForClass('com.extjs.gxt.ui.client.js.', 'JsArray'), Lcom_extjs_gxt_ui_client_js_JsObject_2_classLit = createForClass('com.extjs.gxt.ui.client.js.', 'JsObject'), Lcom_google_gwt_core_client_JavaScriptObject_2_classLit = createForClass('com.google.gwt.core.client.', 'JavaScriptObject$'), Lcom_extjs_gxt_ui_client_mvc_AppEvent_2_classLit = createForClass('com.extjs.gxt.ui.client.mvc.', 'AppEvent'), Lcom_extjs_gxt_ui_client_mvc_Controller_2_classLit = createForClass('com.extjs.gxt.ui.client.mvc.', 'Controller'), Lcom_extjs_gxt_ui_client_mvc_Dispatcher_2_classLit = createForClass('com.extjs.gxt.ui.client.mvc.', 'Dispatcher'), Lcom_extjs_gxt_ui_client_mvc_Dispatcher$1_2_classLit = createForClass('com.extjs.gxt.ui.client.mvc.', 'Dispatcher$1'), Lcom_extjs_gxt_ui_client_mvc_View_2_classLit = createForClass('com.extjs.gxt.ui.client.mvc.', 'View'), Lcom_extjs_gxt_ui_client_state_Provider_2_classLit = createForClass('com.extjs.gxt.ui.client.state.', 'Provider'), Lcom_extjs_gxt_ui_client_state_CookieProvider_2_classLit = createForClass('com.extjs.gxt.ui.client.state.', 'CookieProvider'), Lcom_extjs_gxt_ui_client_state_StateManager_2_classLit = createForClass('com.extjs.gxt.ui.client.state.', 'StateManager'), Lcom_extjs_gxt_ui_client_util_ClickRepeater_2_classLit = createForClass('com.extjs.gxt.ui.client.util.', 'ClickRepeater'), Lcom_extjs_gxt_ui_client_util_ClickRepeater$1_2_classLit = createForClass('com.extjs.gxt.ui.client.util.', 'ClickRepeater$1'), Lcom_extjs_gxt_ui_client_util_ClickRepeater$2_2_classLit = createForClass('com.extjs.gxt.ui.client.util.', 'ClickRepeater$2'), Lcom_extjs_gxt_ui_client_util_ClickRepeater$3_2_classLit = createForClass('com.extjs.gxt.ui.client.util.', 'ClickRepeater$3'), Lcom_extjs_gxt_ui_client_util_DateWrapper_2_classLit = createForClass('com.extjs.gxt.ui.client.util.', 'DateWrapper'), Lcom_extjs_gxt_ui_client_util_DateWrapper$Unit_2_classLit = createForEnum('com.extjs.gxt.ui.client.util.', 'DateWrapper$Unit', values_11), _3Lcom_extjs_gxt_ui_client_util_DateWrapper$Unit_2_classLit = createForArray('[Lcom.extjs.gxt.ui.client.util.', 'DateWrapper$Unit;'), Lcom_extjs_gxt_ui_client_util_DelayedTask_2_classLit = createForClass('com.extjs.gxt.ui.client.util.', 'DelayedTask'), Lcom_extjs_gxt_ui_client_util_DelayedTask$1_2_classLit = createForClass('com.extjs.gxt.ui.client.util.', 'DelayedTask$1'), Lcom_extjs_gxt_ui_client_util_KeyNav_2_classLit = createForClass('com.extjs.gxt.ui.client.util.', 'KeyNav'), Lcom_extjs_gxt_ui_client_util_Region_2_classLit = createForClass('com.extjs.gxt.ui.client.util.', 'Region'), Lcom_extjs_gxt_ui_client_util_Margins_2_classLit = createForClass('com.extjs.gxt.ui.client.util.', 'Margins'), Lcom_extjs_gxt_ui_client_util_Params_2_classLit = createForClass('com.extjs.gxt.ui.client.util.', 'Params'), Lcom_extjs_gxt_ui_client_util_Point_2_classLit = createForClass('com.extjs.gxt.ui.client.util.', 'Point'), Lcom_extjs_gxt_ui_client_util_Rectangle_2_classLit = createForClass('com.extjs.gxt.ui.client.util.', 'Rectangle'), Lcom_extjs_gxt_ui_client_util_Scroll_2_classLit = createForClass('com.extjs.gxt.ui.client.util.', 'Scroll'), Lcom_extjs_gxt_ui_client_util_Size_2_classLit = createForClass('com.extjs.gxt.ui.client.util.', 'Size'), Lcom_extjs_gxt_ui_client_util_TextMetrics_2_classLit = createForClass('com.extjs.gxt.ui.client.util.', 'TextMetrics'), Lcom_extjs_gxt_ui_client_widget_BoxComponent_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'BoxComponent'), Lcom_extjs_gxt_ui_client_widget_button_Button_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.button.', 'Button'), Lcom_extjs_gxt_ui_client_widget_button_Button$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.button.', 'Button$1'), Lcom_extjs_gxt_ui_client_widget_button_Button$2_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.button.', 'Button$2'), Lcom_extjs_gxt_ui_client_widget_button_Button$3_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.button.', 'Button$3'), Lcom_extjs_gxt_ui_client_widget_Container_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Container'), Lcom_extjs_gxt_ui_client_widget_toolbar_ToolBar_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.toolbar.', 'ToolBar'), Lcom_extjs_gxt_ui_client_widget_button_ButtonBar_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.button.', 'ButtonBar'), Lcom_extjs_gxt_ui_client_widget_ScrollContainer_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'ScrollContainer'), Lcom_extjs_gxt_ui_client_widget_LayoutContainer_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'LayoutContainer'), Lcom_extjs_gxt_ui_client_widget_ContentPanel_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'ContentPanel'), Lcom_extjs_gxt_ui_client_widget_button_IconButton_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.button.', 'IconButton'), Lcom_extjs_gxt_ui_client_widget_button_IconButton$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.button.', 'IconButton$1'), Lcom_extjs_gxt_ui_client_widget_button_ToolButton_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.button.', 'ToolButton'), Lcom_extjs_gxt_ui_client_widget_form_Field_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.form.', 'Field'), Lcom_extjs_gxt_ui_client_widget_form_TextField_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.form.', 'TextField'), Lcom_extjs_gxt_ui_client_widget_form_TriggerField_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.form.', 'TriggerField'), Lcom_extjs_gxt_ui_client_widget_form_Field$FieldMessages_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.form.', 'Field$FieldMessages'), Lcom_extjs_gxt_ui_client_widget_form_TextField$TextFieldMessages_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.form.', 'TextField$TextFieldMessages'), Lcom_extjs_gxt_ui_client_widget_form_DateField_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.form.', 'DateField'), Lcom_extjs_gxt_ui_client_widget_form_DateField$DateFieldMessages_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.form.', 'DateField$DateFieldMessages'), Lcom_extjs_gxt_ui_client_widget_form_DateField$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.form.', 'DateField$1'), Lcom_extjs_gxt_ui_client_widget_form_DateField$2_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.form.', 'DateField$2'), Lcom_extjs_gxt_ui_client_widget_form_DateField$3_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.form.', 'DateField$3'), Lcom_extjs_gxt_ui_client_widget_form_DateField$4_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.form.', 'DateField$4'), Lcom_extjs_gxt_ui_client_widget_form_DateTimePropertyEditor_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.form.', 'DateTimePropertyEditor'), Lcom_extjs_gxt_ui_client_widget_form_Field$FieldImages_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.form.', 'Field$FieldImages'), Lcom_extjs_gxt_ui_client_widget_form_Field$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.form.', 'Field$1'), Lcom_extjs_gxt_ui_client_widget_form_Field$2_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.form.', 'Field$2'), Lcom_extjs_gxt_ui_client_widget_form_Field$3_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.form.', 'Field$3'), Lcom_extjs_gxt_ui_client_widget_form_FormPanel_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.form.', 'FormPanel'), Lcom_extjs_gxt_ui_client_widget_form_FormPanel$LabelAlign_2_classLit = createForEnum('com.extjs.gxt.ui.client.widget.form.', 'FormPanel$LabelAlign', values_13), _3Lcom_extjs_gxt_ui_client_widget_form_FormPanel$LabelAlign_2_classLit = createForArray('[Lcom.extjs.gxt.ui.client.widget.form.', 'FormPanel$LabelAlign;'), Lcom_extjs_gxt_ui_client_widget_form_FormPanel$Method_2_classLit = createForEnum('com.extjs.gxt.ui.client.widget.form.', 'FormPanel$Method', values_14), _3Lcom_extjs_gxt_ui_client_widget_form_FormPanel$Method_2_classLit = createForArray('[Lcom.extjs.gxt.ui.client.widget.form.', 'FormPanel$Method;'), Lcom_extjs_gxt_ui_client_widget_form_FormPanel$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.form.', 'FormPanel$1'), Lcom_extjs_gxt_ui_client_widget_form_NumberField_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.form.', 'NumberField'), Lcom_extjs_gxt_ui_client_widget_form_NumberField$NumberFieldMessages_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.form.', 'NumberField$NumberFieldMessages'), Ljava_lang_Number_2_classLit = createForClass('java.lang.', 'Number'), Ljava_lang_Short_2_classLit = createForClass('java.lang.', 'Short'), Ljava_lang_Integer_2_classLit = createForClass('java.lang.', 'Integer'), Ljava_lang_Long_2_classLit = createForClass('java.lang.', 'Long'), Ljava_lang_Float_2_classLit = createForClass('java.lang.', 'Float'), Lcom_extjs_gxt_ui_client_widget_form_NumberPropertyEditor_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.form.', 'NumberPropertyEditor'), Lcom_extjs_gxt_ui_client_widget_form_PropertyEditor$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.form.', 'PropertyEditor$1'), Lcom_extjs_gxt_ui_client_widget_form_TextField$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.form.', 'TextField$1'), Lcom_extjs_gxt_ui_client_widget_form_TriggerField$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.form.', 'TriggerField$1'), Lcom_google_gwt_user_client_ui_Panel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'Panel'), Lcom_extjs_gxt_ui_client_widget_layout_LayoutData_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.layout.', 'LayoutData'), Lcom_extjs_gxt_ui_client_widget_layout_MarginData_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.layout.', 'MarginData'), Lcom_extjs_gxt_ui_client_widget_layout_AnchorData_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.layout.', 'AnchorData'), Lcom_extjs_gxt_ui_client_widget_Layout_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Layout'), Lcom_extjs_gxt_ui_client_widget_layout_AnchorLayout_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.layout.', 'AnchorLayout'), Lcom_extjs_gxt_ui_client_widget_layout_BorderLayout_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.layout.', 'BorderLayout'), Lcom_extjs_gxt_ui_client_widget_layout_BorderLayout$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.layout.', 'BorderLayout$1'), Lcom_extjs_gxt_ui_client_widget_CollapsePanel_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'CollapsePanel'), Lcom_extjs_gxt_ui_client_widget_layout_BorderLayout$2_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.layout.', 'BorderLayout$2'), Lcom_extjs_gxt_ui_client_widget_layout_BorderLayout$3_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.layout.', 'BorderLayout$3'), Lcom_extjs_gxt_ui_client_widget_layout_BorderLayout$4_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.layout.', 'BorderLayout$4'), Lcom_extjs_gxt_ui_client_widget_layout_BorderLayout$5_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.layout.', 'BorderLayout$5'), Lcom_extjs_gxt_ui_client_widget_layout_BorderLayoutData_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.layout.', 'BorderLayoutData'), Lcom_extjs_gxt_ui_client_widget_layout_FitLayout_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.layout.', 'FitLayout'), Lcom_extjs_gxt_ui_client_widget_layout_FlowLayout_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.layout.', 'FlowLayout'), Lcom_extjs_gxt_ui_client_widget_layout_FormData_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.layout.', 'FormData'), Lcom_extjs_gxt_ui_client_widget_layout_FormLayout_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.layout.', 'FormLayout'), Lcom_extjs_gxt_ui_client_widget_layout_MenuLayout_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.layout.', 'MenuLayout'), Lcom_extjs_gxt_ui_client_widget_layout_TableData_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.layout.', 'TableData'), Lcom_extjs_gxt_ui_client_widget_layout_TableLayout_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.layout.', 'TableLayout'), Lcom_extjs_gxt_ui_client_widget_layout_TableRowLayout_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.layout.', 'TableRowLayout'), Lcom_extjs_gxt_ui_client_widget_layout_ToolBarLayout_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.layout.', 'ToolBarLayout'), Lcom_extjs_gxt_ui_client_widget_layout_ToolBarLayout$2_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.layout.', 'ToolBarLayout$2'), Lcom_extjs_gxt_ui_client_widget_layout_ToolBarLayout$3_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.layout.', 'ToolBarLayout$3'), Lcom_extjs_gxt_ui_client_widget_menu_Item_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.menu.', 'Item'), Lcom_extjs_gxt_ui_client_widget_menu_MenuItem_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.menu.', 'MenuItem'), Lcom_extjs_gxt_ui_client_widget_menu_Menu_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.menu.', 'Menu'), Lcom_extjs_gxt_ui_client_widget_menu_DateMenu_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.menu.', 'DateMenu'), Lcom_extjs_gxt_ui_client_widget_menu_HeaderMenuItem_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.menu.', 'HeaderMenuItem'), Lcom_extjs_gxt_ui_client_widget_menu_Menu$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.menu.', 'Menu$1'), Lcom_extjs_gxt_ui_client_widget_menu_Menu$2_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.menu.', 'Menu$2'), Lcom_extjs_gxt_ui_client_widget_menu_Menu$3_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.menu.', 'Menu$3'), Lcom_extjs_gxt_ui_client_widget_tips_Tip_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.tips.', 'Tip'), Lcom_extjs_gxt_ui_client_widget_tips_ToolTip_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.tips.', 'ToolTip'), Lcom_extjs_gxt_ui_client_widget_tips_Tip$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.tips.', 'Tip$1'), Lcom_extjs_gxt_ui_client_widget_tips_ToolTip$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.tips.', 'ToolTip$1'), Lcom_extjs_gxt_ui_client_widget_tips_ToolTip$2_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.tips.', 'ToolTip$2'), Lcom_extjs_gxt_ui_client_widget_tips_ToolTip$3_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.tips.', 'ToolTip$3'), Lcom_extjs_gxt_ui_client_widget_tips_ToolTip$4_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.tips.', 'ToolTip$4'), Lcom_extjs_gxt_ui_client_widget_tips_ToolTipConfig_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.tips.', 'ToolTipConfig'), Lcom_extjs_gxt_ui_client_widget_toolbar_FillToolItem_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.toolbar.', 'FillToolItem'), Lcom_extjs_gxt_ui_client_widget_CollapsePanel$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'CollapsePanel$1'), Lcom_extjs_gxt_ui_client_widget_Popup_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Popup'), Lcom_extjs_gxt_ui_client_widget_CollapsePanel$2_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'CollapsePanel$2'), Lcom_extjs_gxt_ui_client_widget_Component$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Component$1'), Lcom_extjs_gxt_ui_client_widget_Component$2_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Component$2'), Lcom_extjs_gxt_ui_client_widget_Component$3_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Component$3'), Lcom_extjs_gxt_ui_client_widget_ComponentManager_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'ComponentManager'), Lcom_extjs_gxt_ui_client_widget_Container$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Container$1'), Lcom_extjs_gxt_ui_client_widget_ContentPanel$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'ContentPanel$1'), Lcom_extjs_gxt_ui_client_widget_ContentPanel$2_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'ContentPanel$2'), Lcom_extjs_gxt_ui_client_widget_ContentPanel$3_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'ContentPanel$3'), Lcom_extjs_gxt_ui_client_widget_DatePicker_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'DatePicker'), Lcom_extjs_gxt_ui_client_widget_DatePicker$DatePickerMessages_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'DatePicker$DatePickerMessages'), Lcom_extjs_gxt_ui_client_widget_DatePicker$Header_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'DatePicker$Header'), Lcom_extjs_gxt_ui_client_widget_DatePicker$Header$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'DatePicker$Header$1'), Lcom_extjs_gxt_ui_client_widget_DatePicker$Header$2_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'DatePicker$Header$2'), Lcom_extjs_gxt_ui_client_widget_DatePicker$Header$3_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'DatePicker$Header$3'), Lcom_extjs_gxt_ui_client_widget_DatePicker$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'DatePicker$1'), Lcom_extjs_gxt_ui_client_widget_DatePicker$2_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'DatePicker$2'), Lcom_extjs_gxt_ui_client_widget_DatePicker$4_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'DatePicker$4'), Lcom_extjs_gxt_ui_client_widget_Window_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Window'), Lcom_extjs_gxt_ui_client_widget_Dialog_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Dialog'), Lcom_extjs_gxt_ui_client_widget_Dialog$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Dialog$1'), Lcom_extjs_gxt_ui_client_widget_Header_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Header'), Lcom_extjs_gxt_ui_client_widget_HorizontalPanel_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'HorizontalPanel'), Lcom_extjs_gxt_ui_client_widget_HtmlContainer_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'HtmlContainer'), Lcom_extjs_gxt_ui_client_widget_Layer_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Layer'), Lcom_extjs_gxt_ui_client_widget_Layer$ShadowPosition_2_classLit = createForEnum('com.extjs.gxt.ui.client.widget.', 'Layer$ShadowPosition', values_12), _3Lcom_extjs_gxt_ui_client_widget_Layer$ShadowPosition_2_classLit = createForArray('[Lcom.extjs.gxt.ui.client.widget.', 'Layer$ShadowPosition;'), Lcom_extjs_gxt_ui_client_widget_Layout$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Layout$1'), Lcom_extjs_gxt_ui_client_widget_Layout$2_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Layout$2'), Lcom_extjs_gxt_ui_client_widget_Layout$3_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Layout$3'), Lcom_extjs_gxt_ui_client_widget_ModalPanel_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'ModalPanel'), Lcom_extjs_gxt_ui_client_widget_ModalPanel$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'ModalPanel$1'), Lcom_extjs_gxt_ui_client_widget_ModalPanel$1$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'ModalPanel$1$1'), Lcom_extjs_gxt_ui_client_widget_Popup$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Popup$1'), Lcom_extjs_gxt_ui_client_widget_Popup$2_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Popup$2'), Lcom_extjs_gxt_ui_client_widget_Popup$3_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Popup$3'), Lcom_extjs_gxt_ui_client_widget_Shim_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Shim'), Lcom_extjs_gxt_ui_client_widget_SplitBar_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'SplitBar'), Lcom_extjs_gxt_ui_client_widget_SplitBar$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'SplitBar$1'), Lcom_extjs_gxt_ui_client_widget_SplitBar$2_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'SplitBar$2'), Lcom_extjs_gxt_ui_client_widget_SplitBar$3_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'SplitBar$3'), Lcom_extjs_gxt_ui_client_widget_SplitBar$4_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'SplitBar$4'), Lcom_extjs_gxt_ui_client_widget_Status_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Status'), Lcom_extjs_gxt_ui_client_widget_Viewport_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Viewport'), Lcom_extjs_gxt_ui_client_widget_WidgetComponent_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'WidgetComponent'), Lcom_extjs_gxt_ui_client_widget_Window$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Window$1'), Lcom_extjs_gxt_ui_client_widget_Window$2_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Window$2'), Lcom_extjs_gxt_ui_client_widget_Window$3_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Window$3'), Lcom_extjs_gxt_ui_client_widget_Window$4_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Window$4'), Lcom_extjs_gxt_ui_client_widget_Window$4$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Window$4$1'), Lcom_extjs_gxt_ui_client_widget_Window$5_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Window$5'), Lcom_extjs_gxt_ui_client_widget_Window$6_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Window$6'), Lcom_extjs_gxt_ui_client_widget_Window$7_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Window$7'), Lcom_extjs_gxt_ui_client_widget_Window$8_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Window$8'), Lcom_extjs_gxt_ui_client_widget_Window$9_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Window$9'), Lcom_extjs_gxt_ui_client_widget_Window$10_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'Window$10'), Lcom_extjs_gxt_ui_client_widget_WindowManager_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'WindowManager'), Lcom_extjs_gxt_ui_client_widget_WindowManager$1_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'WindowManager$1'), Lcom_extjs_gxt_ui_client_widget_WindowManager$2_2_classLit = createForClass('com.extjs.gxt.ui.client.widget.', 'WindowManager$2'), Lcom_extjs_gxt_ui_client_GXT$1_2_classLit = createForClass('com.extjs.gxt.ui.client.', 'GXT$1'), Lcom_extjs_gxt_ui_client_Style$HorizontalAlignment_2_classLit = createForEnum('com.extjs.gxt.ui.client.', 'Style$HorizontalAlignment', values_4), _3Lcom_extjs_gxt_ui_client_Style$HorizontalAlignment_2_classLit = createForArray('[Lcom.extjs.gxt.ui.client.', 'Style$HorizontalAlignment;'), Lcom_extjs_gxt_ui_client_Style$VerticalAlignment_2_classLit = createForEnum('com.extjs.gxt.ui.client.', 'Style$VerticalAlignment', values_8), _3Lcom_extjs_gxt_ui_client_Style$VerticalAlignment_2_classLit = createForArray('[Lcom.extjs.gxt.ui.client.', 'Style$VerticalAlignment;'), Lcom_extjs_gxt_ui_client_Style$Scroll_2_classLit = createForEnum('com.extjs.gxt.ui.client.', 'Style$Scroll', values_7), _3Lcom_extjs_gxt_ui_client_Style$Scroll_2_classLit = createForArray('[Lcom.extjs.gxt.ui.client.', 'Style$Scroll;'), Lcom_extjs_gxt_ui_client_Style$LayoutRegion_2_classLit = createForEnum('com.extjs.gxt.ui.client.', 'Style$LayoutRegion', values_6), _3Lcom_extjs_gxt_ui_client_Style$LayoutRegion_2_classLit = createForArray('[Lcom.extjs.gxt.ui.client.', 'Style$LayoutRegion;'), Lcom_extjs_gxt_ui_client_Style$Direction_2_classLit = createForEnum('com.extjs.gxt.ui.client.', 'Style$Direction', values_2), _3Lcom_extjs_gxt_ui_client_Style$Direction_2_classLit = createForArray('[Lcom.extjs.gxt.ui.client.', 'Style$Direction;'), Lcom_extjs_gxt_ui_client_Style$HideMode_2_classLit = createForEnum('com.extjs.gxt.ui.client.', 'Style$HideMode', values_3), _3Lcom_extjs_gxt_ui_client_Style$HideMode_2_classLit = createForArray('[Lcom.extjs.gxt.ui.client.', 'Style$HideMode;'), Lcom_extjs_gxt_ui_client_Style$ButtonScale_2_classLit = createForEnum('com.extjs.gxt.ui.client.', 'Style$ButtonScale', values_1), _3Lcom_extjs_gxt_ui_client_Style$ButtonScale_2_classLit = createForArray('[Lcom.extjs.gxt.ui.client.', 'Style$ButtonScale;'), Lcom_extjs_gxt_ui_client_Style$ButtonArrowAlign_2_classLit = createForEnum('com.extjs.gxt.ui.client.', 'Style$ButtonArrowAlign', values_0), _3Lcom_extjs_gxt_ui_client_Style$ButtonArrowAlign_2_classLit = createForArray('[Lcom.extjs.gxt.ui.client.', 'Style$ButtonArrowAlign;'), Lcom_extjs_gxt_ui_client_Style$IconAlign_2_classLit = createForEnum('com.extjs.gxt.ui.client.', 'Style$IconAlign', values_5), _3Lcom_extjs_gxt_ui_client_Style$IconAlign_2_classLit = createForArray('[Lcom.extjs.gxt.ui.client.', 'Style$IconAlign;'), _3Lcom_google_gwt_animation_client_Animation_2_classLit = createForArray('[Lcom.google.gwt.animation.client.', 'Animation;'), Lcom_google_gwt_animation_client_Animation$1_2_classLit = createForClass('com.google.gwt.animation.client.', 'Animation$1'), Ljava_lang_Throwable_2_classLit = createForClass('java.lang.', 'Throwable'), Ljava_lang_Exception_2_classLit = createForClass('java.lang.', 'Exception'), Ljava_lang_RuntimeException_2_classLit = createForClass('java.lang.', 'RuntimeException'), Lcom_google_gwt_core_client_Scheduler_2_classLit = createForClass('com.google.gwt.core.client.', 'Scheduler'), Lcom_google_gwt_core_client_impl_SchedulerImpl_2_classLit = createForClass('com.google.gwt.core.client.impl.', 'SchedulerImpl'), Lcom_google_gwt_core_client_impl_SchedulerImpl$1_2_classLit = createForClass('com.google.gwt.core.client.impl.', 'SchedulerImpl$1'), Lcom_google_gwt_core_client_impl_SchedulerImpl$2_2_classLit = createForClass('com.google.gwt.core.client.impl.', 'SchedulerImpl$2'), Ljava_lang_StackTraceElement_2_classLit = createForClass('java.lang.', 'StackTraceElement'), _3Ljava_lang_StackTraceElement_2_classLit = createForArray('[Ljava.lang.', 'StackTraceElement;'), Lcom_google_gwt_core_client_impl_StringBufferImpl_2_classLit = createForClass('com.google.gwt.core.client.impl.', 'StringBufferImpl'), Lcom_google_gwt_core_client_impl_StringBufferImplAppend_2_classLit = createForClass('com.google.gwt.core.client.impl.', 'StringBufferImplAppend'), Lcom_google_gwt_core_client_JavaScriptException_2_classLit = createForClass('com.google.gwt.core.client.', 'JavaScriptException'), Lcom_google_gwt_dom_client_DOMImpl_2_classLit = createForClass('com.google.gwt.dom.client.', 'DOMImpl'), Lcom_google_gwt_dom_client_DOMImplStandard_2_classLit = createForClass('com.google.gwt.dom.client.', 'DOMImplStandard'), Lcom_google_gwt_dom_client_DOMImplMozilla_2_classLit = createForClass('com.google.gwt.dom.client.', 'DOMImplMozilla'), Lcom_google_gwt_dom_client_Style$Unit_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Unit', values_15), _3Lcom_google_gwt_dom_client_Style$Unit_2_classLit = createForArray('[Lcom.google.gwt.dom.client.', 'Style$Unit;'), Lcom_google_gwt_dom_client_Style$Unit$1_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Unit$1', null), Lcom_google_gwt_dom_client_Style$Unit$2_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Unit$2', null), Lcom_google_gwt_dom_client_Style$Unit$3_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Unit$3', null), Lcom_google_gwt_dom_client_Style$Unit$4_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Unit$4', null), Lcom_google_gwt_dom_client_Style$Unit$5_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Unit$5', null), Lcom_google_gwt_dom_client_Style$Unit$6_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Unit$6', null), Lcom_google_gwt_dom_client_Style$Unit$7_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Unit$7', null), Lcom_google_gwt_dom_client_Style$Unit$8_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Unit$8', null), Lcom_google_gwt_dom_client_Style$Unit$9_2_classLit = createForEnum('com.google.gwt.dom.client.', 'Style$Unit$9', null), Lcom_google_gwt_event_shared_GwtEvent_2_classLit = createForClass('com.google.gwt.event.shared.', 'GwtEvent'), Lcom_google_gwt_event_dom_client_DomEvent_2_classLit = createForClass('com.google.gwt.event.dom.client.', 'DomEvent'), Lcom_google_gwt_event_dom_client_ClickEvent_2_classLit = createForClass('com.google.gwt.event.dom.client.', 'ClickEvent'), Lcom_google_gwt_event_shared_GwtEvent$Type_2_classLit = createForClass('com.google.gwt.event.shared.', 'GwtEvent$Type'), Lcom_google_gwt_event_dom_client_DomEvent$Type_2_classLit = createForClass('com.google.gwt.event.dom.client.', 'DomEvent$Type'), Lcom_google_gwt_event_dom_client_PrivateMap_2_classLit = createForClass('com.google.gwt.event.dom.client.', 'PrivateMap'), Lcom_google_gwt_event_logical_shared_CloseEvent_2_classLit = createForClass('com.google.gwt.event.logical.shared.', 'CloseEvent'), Lcom_google_gwt_event_logical_shared_ResizeEvent_2_classLit = createForClass('com.google.gwt.event.logical.shared.', 'ResizeEvent'), Lcom_google_gwt_event_logical_shared_ValueChangeEvent_2_classLit = createForClass('com.google.gwt.event.logical.shared.', 'ValueChangeEvent'), Lcom_google_gwt_event_shared_DefaultHandlerRegistration_2_classLit = createForClass('com.google.gwt.event.shared.', 'DefaultHandlerRegistration'), Lcom_google_gwt_event_shared_HandlerManager_2_classLit = createForClass('com.google.gwt.event.shared.', 'HandlerManager'), Lcom_google_gwt_event_shared_HandlerManager$HandlerRegistry_2_classLit = createForClass('com.google.gwt.event.shared.', 'HandlerManager$HandlerRegistry'), Lcom_google_gwt_event_shared_HandlerManager$1_2_classLit = createForClass('com.google.gwt.event.shared.', 'HandlerManager$1'), Lcom_google_gwt_event_shared_HandlerManager$2_2_classLit = createForClass('com.google.gwt.event.shared.', 'HandlerManager$2'), Lcom_google_gwt_http_client_RequestBuilder$Method_2_classLit = createForClass('com.google.gwt.http.client.', 'RequestBuilder$Method'), Lcom_google_gwt_i18n_client_constants_DateTimeConstantsImpl_1en_2_classLit = createForClass('com.google.gwt.i18n.client.constants.', 'DateTimeConstantsImpl_en'), Lcom_google_gwt_i18n_client_constants_NumberConstantsImpl_1en_2_classLit = createForClass('com.google.gwt.i18n.client.constants.', 'NumberConstantsImpl_en'), Ljava_util_Date_2_classLit = createForClass('java.util.', 'Date'), Lcom_google_gwt_i18n_client_impl_DateRecord_2_classLit = createForClass('com.google.gwt.i18n.client.impl.', 'DateRecord'), Lcom_google_gwt_i18n_client_DateTimeFormat_2_classLit = createForClass('com.google.gwt.i18n.client.', 'DateTimeFormat'), Lcom_google_gwt_i18n_client_DateTimeFormat$PatternPart_2_classLit = createForClass('com.google.gwt.i18n.client.', 'DateTimeFormat$PatternPart'), Lcom_google_gwt_i18n_client_LocaleInfo_2_classLit = createForClass('com.google.gwt.i18n.client.', 'LocaleInfo'), Lcom_google_gwt_i18n_client_NumberFormat_2_classLit = createForClass('com.google.gwt.i18n.client.', 'NumberFormat'), _3C_classLit = createForArray('', '[C'), Lcom_google_gwt_i18n_client_TimeZone_2_classLit = createForClass('com.google.gwt.i18n.client.', 'TimeZone'), Lcom_google_gwt_json_client_JSONValue_2_classLit = createForClass('com.google.gwt.json.client.', 'JSONValue'), Lcom_google_gwt_json_client_JSONArray_2_classLit = createForClass('com.google.gwt.json.client.', 'JSONArray'), Lcom_google_gwt_json_client_JSONBoolean_2_classLit = createForClass('com.google.gwt.json.client.', 'JSONBoolean'), Lcom_google_gwt_json_client_JSONException_2_classLit = createForClass('com.google.gwt.json.client.', 'JSONException'), Lcom_google_gwt_json_client_JSONNull_2_classLit = createForClass('com.google.gwt.json.client.', 'JSONNull'), Lcom_google_gwt_json_client_JSONNumber_2_classLit = createForClass('com.google.gwt.json.client.', 'JSONNumber'), Lcom_google_gwt_json_client_JSONObject_2_classLit = createForClass('com.google.gwt.json.client.', 'JSONObject'), Lcom_google_gwt_json_client_JSONObject$1_2_classLit = createForClass('com.google.gwt.json.client.', 'JSONObject$1'), Lcom_google_gwt_json_client_JSONString_2_classLit = createForClass('com.google.gwt.json.client.', 'JSONString'), _3_3D_classLit = createForArray('', '[[D'), Lcom_google_gwt_user_client_impl_ElementMapperImpl_2_classLit = createForClass('com.google.gwt.user.client.impl.', 'ElementMapperImpl'), Lcom_google_gwt_user_client_impl_HistoryImpl_2_classLit = createForClass('com.google.gwt.user.client.impl.', 'HistoryImpl'), Lcom_google_gwt_user_client_impl_HistoryImplTimer_2_classLit = createForClass('com.google.gwt.user.client.impl.', 'HistoryImplTimer'), Lcom_google_gwt_user_client_impl_HistoryImplMozilla_2_classLit = createForClass('com.google.gwt.user.client.impl.', 'HistoryImplMozilla'), Ljava_lang_Boolean_2_classLit = createForClass('java.lang.', 'Boolean'), Ljava_lang_Double_2_classLit = createForClass('java.lang.', 'Double'), _3Ljava_lang_Integer_2_classLit = createForArray('[Ljava.lang.', 'Integer;'), _3Ljava_lang_Long_2_classLit = createForArray('[Ljava.lang.', 'Long;'), _3Ljava_lang_Short_2_classLit = createForArray('[Ljava.lang.', 'Short;'), Lcom_google_gwt_user_client_ui_AbstractImagePrototype_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'AbstractImagePrototype'), Lcom_google_gwt_user_client_ui_impl_ClippedImagePrototype_2_classLit = createForClass('com.google.gwt.user.client.ui.impl.', 'ClippedImagePrototype'), Lcom_google_gwt_user_client_ui_ComplexPanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'ComplexPanel'), Lcom_google_gwt_user_client_ui_AbsolutePanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'AbsolutePanel'), _3Ljava_lang_Throwable_2_classLit = createForArray('[Ljava.lang.', 'Throwable;'), Lcom_google_gwt_user_client_ui_AttachDetachException_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'AttachDetachException'), Lcom_google_gwt_user_client_ui_AttachDetachException$1_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'AttachDetachException$1'), Lcom_google_gwt_user_client_ui_AttachDetachException$2_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'AttachDetachException$2'), Lcom_google_gwt_user_client_ui_CellPanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'CellPanel'), _3Lcom_google_gwt_user_client_ui_Widget_2_classLit = createForArray('[Lcom.google.gwt.user.client.ui.', 'Widget;'), Lcom_google_gwt_user_client_ui_HTMLTable_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'HTMLTable'), Lcom_google_gwt_user_client_ui_HTMLTable$CellFormatter_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'HTMLTable$CellFormatter'), Lcom_google_gwt_user_client_ui_Grid_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'Grid'), Lcom_google_gwt_user_client_ui_HTMLTable$ColumnFormatter_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'HTMLTable$ColumnFormatter'), Lcom_google_gwt_user_client_ui_HTMLTable$1_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'HTMLTable$1'), Lcom_google_gwt_user_client_ui_HasHorizontalAlignment$HorizontalAlignmentConstant_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'HasHorizontalAlignment$HorizontalAlignmentConstant'), Lcom_google_gwt_user_client_ui_HasVerticalAlignment$VerticalAlignmentConstant_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'HasVerticalAlignment$VerticalAlignmentConstant'), Lcom_google_gwt_user_client_ui_HorizontalPanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'HorizontalPanel'), Lcom_google_gwt_user_client_ui_Image_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'Image'), Lcom_google_gwt_user_client_ui_Image$State_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'Image$State'), Lcom_google_gwt_user_client_ui_Image$ClippedState_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'Image$ClippedState'), Ljava_util_AbstractList_2_classLit = createForClass('java.util.', 'AbstractList'), Ljava_util_ArrayList_2_classLit = createForClass('java.util.', 'ArrayList'), Lcom_google_gwt_user_client_ui_RootPanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'RootPanel'), Lcom_google_gwt_user_client_ui_RootPanel$DefaultRootPanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'RootPanel$DefaultRootPanel'), Lcom_google_gwt_user_client_ui_RootPanel$1_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'RootPanel$1'), Lcom_google_gwt_user_client_ui_RootPanel$2_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'RootPanel$2'), Lcom_google_gwt_user_client_ui_WidgetCollection_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'WidgetCollection'), Lcom_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'WidgetCollection$WidgetIterator'), Lcom_google_gwt_user_client_CommandCanceledException_2_classLit = createForClass('com.google.gwt.user.client.', 'CommandCanceledException'), Lcom_google_gwt_user_client_CommandExecutor_2_classLit = createForClass('com.google.gwt.user.client.', 'CommandExecutor'), Lcom_google_gwt_user_client_CommandExecutor$CircularIterator_2_classLit = createForClass('com.google.gwt.user.client.', 'CommandExecutor$CircularIterator'), Lcom_google_gwt_user_client_CommandExecutor$1_2_classLit = createForClass('com.google.gwt.user.client.', 'CommandExecutor$1'), Lcom_google_gwt_user_client_CommandExecutor$2_2_classLit = createForClass('com.google.gwt.user.client.', 'CommandExecutor$2'), Lcom_google_gwt_user_client_Event$NativePreviewEvent_2_classLit = createForClass('com.google.gwt.user.client.', 'Event$NativePreviewEvent'), Lcom_google_gwt_user_client_Timer$1_2_classLit = createForClass('com.google.gwt.user.client.', 'Timer$1'), Lcom_google_gwt_user_client_Window$ClosingEvent_2_classLit = createForClass('com.google.gwt.user.client.', 'Window$ClosingEvent'), Lcom_google_gwt_user_client_Window$WindowHandlers_2_classLit = createForClass('com.google.gwt.user.client.', 'Window$WindowHandlers'), Ljava_lang_ArithmeticException_2_classLit = createForClass('java.lang.', 'ArithmeticException'), Ljava_lang_IndexOutOfBoundsException_2_classLit = createForClass('java.lang.', 'IndexOutOfBoundsException'), Ljava_lang_ArrayStoreException_2_classLit = createForClass('java.lang.', 'ArrayStoreException'), Ljava_lang_Character_2_classLit = createForClass('java.lang.', 'Character'), _3Ljava_lang_Character_2_classLit = createForArray('[Ljava.lang.', 'Character;'), Ljava_lang_Class_2_classLit = createForClass('java.lang.', 'Class'), Ljava_lang_ClassCastException_2_classLit = createForClass('java.lang.', 'ClassCastException'), Ljava_lang_IllegalArgumentException_2_classLit = createForClass('java.lang.', 'IllegalArgumentException'), Ljava_lang_IllegalStateException_2_classLit = createForClass('java.lang.', 'IllegalStateException'), Ljava_lang_NullPointerException_2_classLit = createForClass('java.lang.', 'NullPointerException'), Ljava_lang_Number$_1_1Decode_2_classLit = createForClass('java.lang.', 'Number$__Decode'), Ljava_lang_NumberFormatException_2_classLit = createForClass('java.lang.', 'NumberFormatException'), Ljava_lang_StringBuffer_2_classLit = createForClass('java.lang.', 'StringBuffer'), Ljava_lang_UnsupportedOperationException_2_classLit = createForClass('java.lang.', 'UnsupportedOperationException'), Ljava_util_AbstractHashMap_2_classLit = createForClass('java.util.', 'AbstractHashMap'), Ljava_util_AbstractHashMap$EntrySet_2_classLit = createForClass('java.util.', 'AbstractHashMap$EntrySet'), Ljava_util_AbstractHashMap$EntrySetIterator_2_classLit = createForClass('java.util.', 'AbstractHashMap$EntrySetIterator'), Ljava_util_AbstractMapEntry_2_classLit = createForClass('java.util.', 'AbstractMapEntry'), Ljava_util_AbstractHashMap$MapEntryNull_2_classLit = createForClass('java.util.', 'AbstractHashMap$MapEntryNull'), Ljava_util_AbstractHashMap$MapEntryString_2_classLit = createForClass('java.util.', 'AbstractHashMap$MapEntryString'), Ljava_util_AbstractList$IteratorImpl_2_classLit = createForClass('java.util.', 'AbstractList$IteratorImpl'), Ljava_util_AbstractList$ListIteratorImpl_2_classLit = createForClass('java.util.', 'AbstractList$ListIteratorImpl'), Ljava_util_AbstractMap$1_2_classLit = createForClass('java.util.', 'AbstractMap$1'), Ljava_util_AbstractMap$1$1_2_classLit = createForClass('java.util.', 'AbstractMap$1$1'), Ljava_util_AbstractMap$2_2_classLit = createForClass('java.util.', 'AbstractMap$2'), Ljava_util_AbstractMap$2$1_2_classLit = createForClass('java.util.', 'AbstractMap$2$1'), Ljava_util_Arrays$ArrayList_2_classLit = createForClass('java.util.', 'Arrays$ArrayList'), Ljava_util_Collections$UnmodifiableCollection_2_classLit = createForClass('java.util.', 'Collections$UnmodifiableCollection'), Ljava_util_Collections$UnmodifiableList_2_classLit = createForClass('java.util.', 'Collections$UnmodifiableList'), Ljava_util_Collections$UnmodifiableMap_2_classLit = createForClass('java.util.', 'Collections$UnmodifiableMap'), Ljava_util_Collections$UnmodifiableSet_2_classLit = createForClass('java.util.', 'Collections$UnmodifiableSet'), Ljava_util_Collections$UnmodifiableMap$UnmodifiableEntrySet_2_classLit = createForClass('java.util.', 'Collections$UnmodifiableMap$UnmodifiableEntrySet'), Ljava_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry_2_classLit = createForClass('java.util.', 'Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry'), Ljava_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$1_2_classLit = createForClass('java.util.', 'Collections$UnmodifiableMap$UnmodifiableEntrySet$1'), Ljava_util_Collections$UnmodifiableRandomAccessList_2_classLit = createForClass('java.util.', 'Collections$UnmodifiableRandomAccessList'), Ljava_util_Collections$UnmodifiableCollectionIterator_2_classLit = createForClass('java.util.', 'Collections$UnmodifiableCollectionIterator'), Ljava_util_Comparators$1_2_classLit = createForClass('java.util.', 'Comparators$1'), Ljava_util_EmptyStackException_2_classLit = createForClass('java.util.', 'EmptyStackException'), Ljava_util_HashMap_2_classLit = createForClass('java.util.', 'HashMap'), Ljava_util_HashSet_2_classLit = createForClass('java.util.', 'HashSet'), Ljava_util_MapEntryImpl_2_classLit = createForClass('java.util.', 'MapEntryImpl'), Ljava_util_NoSuchElementException_2_classLit = createForClass('java.util.', 'NoSuchElementException'), Ljava_util_Vector_2_classLit = createForClass('java.util.', 'Vector'), Ljava_util_Stack_2_classLit = createForClass('java.util.', 'Stack'), _3Lcom_extjs_gxt_ui_client_event_EventType_2_classLit = createForArray('[Lcom.extjs.gxt.ui.client.event.', 'EventType;'), Lweb_app_client_security_AuthController_2_classLit = createForClass('web.app.client.security.', 'AuthController'), Lweb_app_client_ui_LoginView_2_classLit = createForClass('web.app.client.ui.', 'LoginView'), Lweb_app_client_ui_LoginView$1_2_classLit = createForClass('web.app.client.ui.', 'LoginView$1'), Lweb_app_client_ui_LoginView$2_2_classLit = createForClass('web.app.client.ui.', 'LoginView$2'), Lweb_app_client_ui_LoginView$3_2_classLit = createForClass('web.app.client.ui.', 'LoginView$3'), Lweb_app_client_AppController_2_classLit = createForClass('web.app.client.', 'AppController'), Lweb_app_client_AppView_2_classLit = createForClass('web.app.client.', 'AppView'), Lweb_dynamic_client_DynDef_2_classLit = createForClass('web.dynamic.client.', 'DynDef'), Lweb_dynamic_client_DynForm_2_classLit = createForClass('web.dynamic.client.', 'DynForm'), Lweb_dynamic_client_DynModelProp_2_classLit = createForClass('web.dynamic.client.', 'DynModelProp'), Lweb_dynamic_client_DynamicModule_2_classLit = createForClass('web.dynamic.client.', 'DynamicModule'), Lweb_dynamic_client_Manager_2_classLit = createForClass('web.dynamic.client.', 'Manager'), Lweb_example_client_Main_2_classLit = createForClass('web.example.client.', 'Main'), _3Lcom_google_gwt_core_client_JavaScriptObject_2_classLit = createForArray('[Lcom.google.gwt.core.client.', 'JavaScriptObject$;');
$stats && $stats({moduleName:'web.example.Application',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalEnd'});
if ($wnd.web_example_Application) $wnd.web_example_Application.onScriptLoad();
--></script></body></html>
